[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1342211770-4219-1-git-send-email-silviupopescu1990@gmail.com>
Date: Fri, 13 Jul 2012 23:36:10 +0300
From: Silviu-Mihai Popescu <silviupopescu1990@...il.com>
To: netdev@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, davem@...emloft.net,
alex.bluesman.smirnov@...il.com,
Silviu-Mihai Popescu <silviupopescu1990@...il.com>
Subject: [PATCH] mac802154: fix sparse warning for mac802154_slave_get_priv
Make sparse happy by fixing the following error:
* symbol 'mac802154_slave_get_priv' was not declared. Should it be static?
Signed-off-by: Silviu-Mihai Popescu <silviupopescu1990@...il.com>
---
net/mac802154/mib.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/mac802154/mib.c b/net/mac802154/mib.c
index ab59821..1cf6557 100644
--- a/net/mac802154/mib.c
+++ b/net/mac802154/mib.c
@@ -34,7 +34,7 @@ struct hw_addr_filt_notify_work {
unsigned long changed;
};
-struct mac802154_priv *mac802154_slave_get_priv(struct net_device *dev)
+static struct mac802154_priv *mac802154_slave_get_priv(struct net_device *dev)
{
struct mac802154_sub_if_data *priv = netdev_priv(dev);
--
1.7.11-rc3
--
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