* [PATCH net-next] ipv6: add include file to suppress sparse warnings
@ 2013-06-25 8:30 Eric Dumazet
2013-06-25 9:44 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Eric Dumazet @ 2013-06-25 8:30 UTC (permalink / raw)
To: David Miller; +Cc: netdev, Cong Wang
From: Eric Dumazet <edumazet@google.com>
commit f88c91ddba95 ("ipv6: statically link
register_inet6addr_notifier()" added following sparse warnings :
net/ipv6/addrconf_core.c:83:5: warning: symbol
'register_inet6addr_notifier' was not declared. Should it be static?
net/ipv6/addrconf_core.c:89:5: warning: symbol
'unregister_inet6addr_notifier' was not declared. Should it be static?
net/ipv6/addrconf_core.c:95:5: warning: symbol
'inet6addr_notifier_call_chain' was not declared. Should it be static?
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Cong Wang <amwang@redhat.com>
---
net/ipv6/addrconf_core.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/ipv6/addrconf_core.c b/net/ipv6/addrconf_core.c
index 7210456..d2f8742 100644
--- a/net/ipv6/addrconf_core.c
+++ b/net/ipv6/addrconf_core.c
@@ -5,6 +5,7 @@
#include <linux/export.h>
#include <net/ipv6.h>
+#include <net/addrconf.h>
#define IPV6_ADDR_SCOPE_TYPE(scope) ((scope) << 16)
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH net-next] ipv6: add include file to suppress sparse warnings
2013-06-25 8:30 [PATCH net-next] ipv6: add include file to suppress sparse warnings Eric Dumazet
@ 2013-06-25 9:44 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2013-06-25 9:44 UTC (permalink / raw)
To: eric.dumazet; +Cc: netdev, amwang
From: Eric Dumazet <eric.dumazet@gmail.com>
Date: Tue, 25 Jun 2013 01:30:11 -0700
> From: Eric Dumazet <edumazet@google.com>
>
> commit f88c91ddba95 ("ipv6: statically link
> register_inet6addr_notifier()" added following sparse warnings :
>
> net/ipv6/addrconf_core.c:83:5: warning: symbol
> 'register_inet6addr_notifier' was not declared. Should it be static?
> net/ipv6/addrconf_core.c:89:5: warning: symbol
> 'unregister_inet6addr_notifier' was not declared. Should it be static?
> net/ipv6/addrconf_core.c:95:5: warning: symbol
> 'inet6addr_notifier_call_chain' was not declared. Should it be static?
>
> Signed-off-by: Eric Dumazet <edumazet@google.com>
Applied.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-06-25 9:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-25 8:30 [PATCH net-next] ipv6: add include file to suppress sparse warnings Eric Dumazet
2013-06-25 9:44 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).