Skip to content

Commit

Permalink
ixgbevf: Message formatting fixup
Browse files Browse the repository at this point in the history
Commit 29b8dd0
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>
  • Loading branch information
Joe Perches authored and David S. Miller committed Mar 23, 2010
1 parent 3801326 commit 300bc06
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/net/ixgbevf/ixgbevf_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 300bc06

Please sign in to comment.