提交 300bc060 编写于 作者: J Joe Perches 提交者: David S. Miller

ixgbevf: Message formatting fixup

Commit 29b8dd02
left a trailing ", " after a message.
Fix it and make the text used a bit smaller when DEBUG is #defined
Signed-off-by: NJoe Perches <joe@perches.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 38013262
...@@ -2417,9 +2417,9 @@ static void ixgbevf_watchdog_task(struct work_struct *work) ...@@ -2417,9 +2417,9 @@ static void ixgbevf_watchdog_task(struct work_struct *work)
if (link_up) { if (link_up) {
if (!netif_carrier_ok(netdev)) { if (!netif_carrier_ok(netdev)) {
hw_dbg(&adapter->hw, "NIC Link is Up %s, ", hw_dbg(&adapter->hw, "NIC Link is Up, %u Gbps\n",
((link_speed == IXGBE_LINK_SPEED_10GB_FULL) ? (link_speed == IXGBE_LINK_SPEED_10GB_FULL) ?
"10 Gbps\n" : "1 Gbps\n")); 10 : 1);
netif_carrier_on(netdev); netif_carrier_on(netdev);
netif_tx_wake_all_queues(netdev); netif_tx_wake_all_queues(netdev);
} else { } else {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册