forked from luck/tmp_suning_uos_patched
ide: Use pr_warn instead of pr_warning
As said in commit f2c2cbcc35
("powerpc: Use pr_warn instead of
pr_warning"), removing pr_warning so all logging messages use a
consistent <prefix>_warn style. Let's do it.
Link: http://lkml.kernel.org/r/20191018031850.48498-13-wangkefeng.wang@huawei.com
To: linux-kernel@vger.kernel.org
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>
This commit is contained in:
parent
cacc594b3f
commit
a7f4a27f2f
|
@ -46,7 +46,7 @@ static void tx4938ide_tune_ebusc(unsigned int ebus_ch,
|
|||
while ((shwt * 4 + wt + (wt ? 2 : 3)) * cycle < t->cycle)
|
||||
shwt++;
|
||||
if (shwt > 7) {
|
||||
pr_warning("tx4938ide: SHWT violation (%d)\n", shwt);
|
||||
pr_warn("tx4938ide: SHWT violation (%d)\n", shwt);
|
||||
shwt = 7;
|
||||
}
|
||||
pr_debug("tx4938ide: ebus %d, bus cycle %dns, WT %d, SHWT %d\n",
|
||||
|
|
|
@ -363,9 +363,9 @@ static int tx4939ide_dma_test_irq(ide_drive_t *drive)
|
|||
case TX4939IDE_INT_HOST | TX4939IDE_INT_XFEREND:
|
||||
dma_stat = tx4939ide_readb(base, TX4939IDE_DMA_Stat);
|
||||
if (!(dma_stat & ATA_DMA_INTR))
|
||||
pr_warning("%s: weird interrupt status. "
|
||||
"DMA_Stat %#02x int_ctl %#04x\n",
|
||||
hwif->name, dma_stat, ctl);
|
||||
pr_warn("%s: weird interrupt status. "
|
||||
"DMA_Stat %#02x int_ctl %#04x\n",
|
||||
hwif->name, dma_stat, ctl);
|
||||
found = 1;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user