]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
r8169: clean up my printk uglyness
authorNeil Horman <nhorman@tuxdriver.com>
Thu, 1 Apr 2010 07:30:07 +0000 (07:30 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 Apr 2010 02:33:04 +0000 (19:33 -0700)
Fix formatting on r8169 printk

Brandon Philips noted that I had a spacing issue in my printk for the
last r8169 patch that made it quite ugly.  Fix that up and add the PFX
macro to it as well so it looks like the other r8169 printks

Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/r8169.c

index 96740051cdccc74d447a24f4a72d96df3492e7da..dbb1f5a1824c7e7ddd251d9c75cbe3d4bab8469a 100644 (file)
@@ -3227,8 +3227,8 @@ static void rtl8169_set_rxbufsize(struct rtl8169_private *tp,
        unsigned int max_frame = mtu + VLAN_ETH_HLEN + ETH_FCS_LEN;
 
        if (max_frame != 16383)
-               printk(KERN_WARNING "WARNING! Changing of MTU on this NIC"
-                       "May lead to frame reception errors!\n");
+               printk(KERN_WARNING PFX "WARNING! Changing of MTU on this "
+                       "NIC may lead to frame reception errors!\n");
 
        tp->rx_buf_sz = (max_frame > RX_BUF_SIZE) ? max_frame : RX_BUF_SIZE;
 }