public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
* [PATCH net-next] bnx2x: fix sparse warning
@ 2014-01-14 18:14 Stephen Hemminger
  2014-01-15 23:07 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Hemminger @ 2014-01-14 18:14 UTC (permalink / raw)
  To: David Miller; +Cc: netdev

Fix new sparse warning about function declared static.

Signed-off-by: Stephen Hemminger <stephen@networkplumber•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;

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH net-next] bnx2x: fix sparse warning
  2014-01-14 18:14 [PATCH net-next] bnx2x: fix sparse warning Stephen Hemminger
@ 2014-01-15 23:07 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2014-01-15 23:07 UTC (permalink / raw)
  To: stephen; +Cc: netdev

From: Stephen Hemminger <stephen@networkplumber•org>
Date: Tue, 14 Jan 2014 10:14:11 -0800

> Fix new sparse warning about function declared static.
> 
> Signed-off-by: Stephen Hemminger <stephen@networkplumber•org>

Applied, thanks Stephen.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-01-15 23:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-14 18:14 [PATCH net-next] bnx2x: fix sparse warning Stephen Hemminger
2014-01-15 23:07 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox