bnx2x: fix sparse warning
PATCH 1/1 bnx2x: fix sparse warning
Fix new sparse warning about function declared static.
Signed-off-by Stephen Hemminger <[email protected]>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c +2 -2
@@ -8602,8 +8602,8 @@ static void bnx2x_set_limiting_mode(stru } } -int bnx2x_sfp_module_detection (struct bnx2x_phy *phy, -struct link_params *params) +static int bnx2x_sfp_module_detection (struct bnx2x_phy *phy, +struct link_params *params) {struct bnx2x *bp = params->bp;u16 edc_mode;
From: Stephen Hemminger <[email protected]>
Date: Tue, 14 Jan 2014 10:14:11 -0800
Quoted 3 lines
Fix new sparse warning about function declared static.
Signed-off-by Stephen Hemminger <[email protected]>
Applied, thanks Stephen.