diff options
author | Joe Perches <joe@perches.com> | 2007-10-18 15:15:01 -0400 |
---|---|---|
committer | Francois Romieu <romieu@fr.zoreil.com> | 2007-10-18 15:24:19 -0400 |
commit | 53edbecd589520833a89b57af1ee636fdc7544a5 (patch) | |
tree | 99f977541758201aa5ae7a456657984452972581 /drivers/net/r8169.c | |
parent | 06fa73589f79e58e52e6a0329594fb42f8c6d277 (diff) |
r8169: KERN_XXX vs PFX (trivial)
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>
Diffstat (limited to 'drivers/net/r8169.c')
-rw-r--r-- | drivers/net/r8169.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/r8169.c b/drivers/net/r8169.c index 94b79f55c71c..9c11087d3e87 100644 --- a/drivers/net/r8169.c +++ b/drivers/net/r8169.c | |||
@@ -2311,7 +2311,7 @@ static void rtl8169_reinit_task(struct work_struct *work) | |||
2311 | ret = rtl8169_open(dev); | 2311 | ret = rtl8169_open(dev); |
2312 | if (unlikely(ret < 0)) { | 2312 | if (unlikely(ret < 0)) { |
2313 | if (net_ratelimit() && netif_msg_drv(tp)) { | 2313 | if (net_ratelimit() && netif_msg_drv(tp)) { |
2314 | printk(PFX KERN_ERR "%s: reinit failure (status = %d)." | 2314 | printk(KERN_ERR PFX "%s: reinit failure (status = %d)." |
2315 | " Rescheduling.\n", dev->name, ret); | 2315 | " Rescheduling.\n", dev->name, ret); |
2316 | } | 2316 | } |
2317 | rtl8169_schedule_work(dev, rtl8169_reinit_task); | 2317 | rtl8169_schedule_work(dev, rtl8169_reinit_task); |
@@ -2343,7 +2343,7 @@ static void rtl8169_reset_task(struct work_struct *work) | |||
2343 | netif_wake_queue(dev); | 2343 | netif_wake_queue(dev); |
2344 | } else { | 2344 | } else { |
2345 | if (net_ratelimit() && netif_msg_intr(tp)) { | 2345 | if (net_ratelimit() && netif_msg_intr(tp)) { |
2346 | printk(PFX KERN_EMERG "%s: Rx buffers shortage\n", | 2346 | printk(KERN_EMERG PFX "%s: Rx buffers shortage\n", |
2347 | dev->name); | 2347 | dev->name); |
2348 | } | 2348 | } |
2349 | rtl8169_schedule_work(dev, rtl8169_reset_task); | 2349 | rtl8169_schedule_work(dev, rtl8169_reset_task); |