summaryrefslogtreecommitdiff
path: root/drivers/net/ixgbevf
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2010-03-23 06:08:04 +0300
committerDavid S. Miller <davem@davemloft.net>2010-03-23 06:08:04 +0300
commit300bc0602489d9f09f7b548f790afd2952f6070b (patch)
tree6dbbb8f3af75c64c7237daa16e3aaffa1a15b8ca /drivers/net/ixgbevf
parent38013262c2c815fa404fa9f42dbc958c616fb385 (diff)
downloadlinux-300bc0602489d9f09f7b548f790afd2952f6070b.tar.xz
ixgbevf: Message formatting fixup
Commit 29b8dd024bd48c3d1d1e5140f5bbb683786f998e left a trailing ", " after a message. Fix it and make the text used a bit smaller when DEBUG is #defined Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ixgbevf')
-rw-r--r--drivers/net/ixgbevf/ixgbevf_main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/ixgbevf/ixgbevf_main.c b/drivers/net/ixgbevf/ixgbevf_main.c
index d6cbd943a6f0..19e93a43e56c 100644
--- a/drivers/net/ixgbevf/ixgbevf_main.c
+++ b/drivers/net/ixgbevf/ixgbevf_main.c
@@ -2417,9 +2417,9 @@ static void ixgbevf_watchdog_task(struct work_struct *work)
if (link_up) {
if (!netif_carrier_ok(netdev)) {
- hw_dbg(&adapter->hw, "NIC Link is Up %s, ",
- ((link_speed == IXGBE_LINK_SPEED_10GB_FULL) ?
- "10 Gbps\n" : "1 Gbps\n"));
+ hw_dbg(&adapter->hw, "NIC Link is Up, %u Gbps\n",
+ (link_speed == IXGBE_LINK_SPEED_10GB_FULL) ?
+ 10 : 1);
netif_carrier_on(netdev);
netif_tx_wake_all_queues(netdev);
} else {