|
From: Sascha W. <sa...@on...> - 2012-07-28 08:17:20
|
In ixgbe_82599.c, function ixgbe_setup_mac_link_82599(), there is either
an indentation issue or missing braces:
/* Set KX4/KX/KR support according to speed requested */
autoc &= ~(IXGBE_AUTOC_KX4_KX_SUPP_MASK | IXGBE_AUTOC_KR_SUPP);
if (speed & IXGBE_LINK_SPEED_10GB_FULL)
if (orig_autoc & IXGBE_AUTOC_KX4_SUPP)
autoc |= IXGBE_AUTOC_KX4_SUPP;
if ((orig_autoc & IXGBE_AUTOC_KR_SUPP) &&
(hw->phy.smart_speed_active == false))
autoc |= IXGBE_AUTOC_KR_SUPP;
Either the outer if is missing braces or the last if is indented wrongly.
You decide, as I'm not familiar with the code. :)
Regards,
Sascha
|