aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeil Horman <nhorman@tuxdriver.com>2010-04-01 03:30:07 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2010-04-26 10:48:06 -0400
commit8dc1df692d2cc167fbd37a29180c14115498e7e3 (patch)
treeea4200a27177300ae742458fc48d4812bfb9656c
parentf78a4090514f62d2db8085d56721c11333cf2796 (diff)
r8169: clean up my printk uglyness
commit 93f4d91d879acfcb0ba9c2725e3133fcff2dfd1e upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--drivers/net/r8169.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/r8169.c b/drivers/net/r8169.c
index 67d414b061d7..3db85daa3671 100644
--- a/drivers/net/r8169.c
+++ b/drivers/net/r8169.c
@@ -3255,8 +3255,8 @@ static void rtl8169_set_rxbufsize(struct rtl8169_private *tp,
3255 unsigned int max_frame = mtu + VLAN_ETH_HLEN + ETH_FCS_LEN; 3255 unsigned int max_frame = mtu + VLAN_ETH_HLEN + ETH_FCS_LEN;
3256 3256
3257 if (max_frame != 16383) 3257 if (max_frame != 16383)
3258 printk(KERN_WARNING "WARNING! Changing of MTU on this NIC" 3258 printk(KERN_WARNING PFX "WARNING! Changing of MTU on this "
3259 "May lead to frame reception errors!\n"); 3259 "NIC may lead to frame reception errors!\n");
3260 3260
3261 tp->rx_buf_sz = (max_frame > RX_BUF_SIZE) ? max_frame : RX_BUF_SIZE; 3261 tp->rx_buf_sz = (max_frame > RX_BUF_SIZE) ? max_frame : RX_BUF_SIZE;
3262} 3262}