[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140114101411.0ac2452e@nehalam.linuxnetplumber.net>
Date: Tue, 14 Jan 2014 10:14:11 -0800
From: Stephen Hemminger <stephen@...workplumber.org>
To: David Miller <davem@...emloft.net>
Cc: netdev@...r.kernel.org
Subject: [PATCH net-next] bnx2x: fix sparse warning
Fix new sparse warning about function declared static.
Signed-off-by: Stephen Hemminger <stephen@...workplumber.org>
--- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c 2014-01-14 09:46:20.701651762 -0800
+++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c 2014-01-14 09:57:31.562110348 -0800
@@ -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;
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists