aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeil Horman <nhorman@tuxdriver.com>2010-04-01 03:30:07 -0400
committerDavid S. Miller <davem@davemloft.net>2010-04-01 22:33:04 -0400
commit93f4d91d879acfcb0ba9c2725e3133fcff2dfd1e (patch)
treec05de0051bdf71501a549dd24c88ca96d853512d
parent43e9da8d782b8a40d5127fcc59ac2e543cf16d7d (diff)
r8169: clean up my printk uglyness
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>
-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 96740051cdcc..dbb1f5a1824c 100644
--- a/drivers/net/r8169.c
+++ b/drivers/net/r8169.c
@@ -3227,8 +3227,8 @@ static void rtl8169_set_rxbufsize(struct rtl8169_private *tp,
3227 unsigned int max_frame = mtu + VLAN_ETH_HLEN + ETH_FCS_LEN; 3227 unsigned int max_frame = mtu + VLAN_ETH_HLEN + ETH_FCS_LEN;
3228 3228
3229 if (max_frame != 16383) 3229 if (max_frame != 16383)
3230 printk(KERN_WARNING "WARNING! Changing of MTU on this NIC" 3230 printk(KERN_WARNING PFX "WARNING! Changing of MTU on this "
3231 "May lead to frame reception errors!\n"); 3231 "NIC may lead to frame reception errors!\n");
3232 3232
3233 tp->rx_buf_sz = (max_frame > RX_BUF_SIZE) ? max_frame : RX_BUF_SIZE; 3233 tp->rx_buf_sz = (max_frame > RX_BUF_SIZE) ? max_frame : RX_BUF_SIZE;
3234} 3234}