]> err.no Git - linux-2.6/commitdiff
r8169: KERN_XXX vs PFX (trivial)
authorJoe Perches <joe@perches.com>
Thu, 18 Oct 2007 19:15:01 +0000 (21:15 +0200)
committerFrancois Romieu <romieu@fr.zoreil.com>
Thu, 18 Oct 2007 19:24:19 +0000 (21:24 +0200)
Wrong ordering in printk.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Cc: Edward Hsu <edward_hsu@realtek.com.tw>
drivers/net/r8169.c

index 94b79f55c71caf40c6a5e54d758bfa6078dadb1c..9c11087d3e874819250415d779cabee6d078e9e1 100644 (file)
@@ -2311,7 +2311,7 @@ static void rtl8169_reinit_task(struct work_struct *work)
        ret = rtl8169_open(dev);
        if (unlikely(ret < 0)) {
                if (net_ratelimit() && netif_msg_drv(tp)) {
-                       printk(PFX KERN_ERR "%s: reinit failure (status = %d)."
+                       printk(KERN_ERR PFX "%s: reinit failure (status = %d)."
                               " Rescheduling.\n", dev->name, ret);
                }
                rtl8169_schedule_work(dev, rtl8169_reinit_task);
@@ -2343,7 +2343,7 @@ static void rtl8169_reset_task(struct work_struct *work)
                netif_wake_queue(dev);
        } else {
                if (net_ratelimit() && netif_msg_intr(tp)) {
-                       printk(PFX KERN_EMERG "%s: Rx buffers shortage\n",
+                       printk(KERN_EMERG PFX "%s: Rx buffers shortage\n",
                               dev->name);
                }
                rtl8169_schedule_work(dev, rtl8169_reset_task);