ide: Use pr_warn instead of pr_warning
authorKefeng Wang <wangkefeng.wang@huawei.com>
Fri, 18 Oct 2019 03:18:30 +0000 (11:18 +0800)
committerPetr Mladek <pmladek@suse.com>
Fri, 18 Oct 2019 13:00:21 +0000 (15:00 +0200)
As said in commit f2c2cbcc35d4 ("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>
drivers/ide/tx4938ide.c
drivers/ide/tx4939ide.c

index 40a3f55..962eb92 100644 (file)
@@ -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",
index 88d132e..d5e871f 100644 (file)
@@ -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;
        }