projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3801326
)
ixgbevf: Message formatting fixup
author
Joe Perches
<
[email protected]
>
Tue, 23 Mar 2010 03:08:04 +0000
(20:08 -0700)
committer
David S. Miller
<
[email protected]
>
Tue, 23 Mar 2010 03:08:04 +0000
(20:08 -0700)
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 <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/ixgbevf/ixgbevf_main.c
patch
|
blob
|
history
diff --git
a/drivers/net/ixgbevf/ixgbevf_main.c
b/drivers/net/ixgbevf/ixgbevf_main.c
index d6cbd943a6f03760ca3129ca07b40c6f5bc69072..19e93a43e56c320c8edc02ee11d52b268761adcf 100644
(file)
--- 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 {