Commit 305f8cec authored by Jacob Keller's avatar Jacob Keller Committed by Jeff Kirsher

ixgbe: fix some multiline hw_dbg prints

This patch fixes some formatting on multilined print messages, so that
the text of the print appears on a single line, which aids in grepping
the sourcecode for where the error came from.
Signed-off-by: default avatarJacob Keller <jacob.e.keller@intel.com>
Tested-by: default avatarPhil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
parent 44834700
...@@ -512,7 +512,7 @@ static enum ixgbe_media_type ixgbe_get_media_type_82599(struct ixgbe_hw *hw) ...@@ -512,7 +512,7 @@ static enum ixgbe_media_type ixgbe_get_media_type_82599(struct ixgbe_hw *hw)
* *
* Disables link, should be called during D3 power down sequence. * Disables link, should be called during D3 power down sequence.
* *
*/ **/
static void ixgbe_stop_mac_link_on_d3_82599(struct ixgbe_hw *hw) static void ixgbe_stop_mac_link_on_d3_82599(struct ixgbe_hw *hw)
{ {
u32 autoc2_reg; u32 autoc2_reg;
...@@ -1005,8 +1005,7 @@ static s32 ixgbe_setup_mac_link_smartspeed(struct ixgbe_hw *hw, ...@@ -1005,8 +1005,7 @@ static s32 ixgbe_setup_mac_link_smartspeed(struct ixgbe_hw *hw,
out: out:
if (link_up && (link_speed == IXGBE_LINK_SPEED_1GB_FULL)) if (link_up && (link_speed == IXGBE_LINK_SPEED_1GB_FULL))
hw_dbg(hw, "Smartspeed has downgraded the link speed from " hw_dbg(hw, "Smartspeed has downgraded the link speed from the maximum advertised\n");
"the maximum advertised\n");
return status; return status;
} }
...@@ -1114,8 +1113,7 @@ static s32 ixgbe_setup_mac_link_82599(struct ixgbe_hw *hw, ...@@ -1114,8 +1113,7 @@ static s32 ixgbe_setup_mac_link_82599(struct ixgbe_hw *hw,
if (!(links_reg & IXGBE_LINKS_KX_AN_COMP)) { if (!(links_reg & IXGBE_LINKS_KX_AN_COMP)) {
status = status =
IXGBE_ERR_AUTONEG_NOT_COMPLETE; IXGBE_ERR_AUTONEG_NOT_COMPLETE;
hw_dbg(hw, "Autoneg did not " hw_dbg(hw, "Autoneg did not complete.\n");
"complete.\n");
} }
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment