]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
ipv6: include <net/addrconf.h> for missing declarations
authorBen Dooks (Codethink) <ben.dooks@codethink.co.uk>
Tue, 22 Oct 2019 14:44:40 +0000 (15:44 +0100)
committerJakub Kicinski <jakub.kicinski@netronome.com>
Tue, 22 Oct 2019 22:17:03 +0000 (15:17 -0700)
commit6c5d9c2a6bedbb3c3c14253776320c0ee564f064
tree8e04035126b008eb20e0de893882dccbfbfe599e
parent9464cc37f3671ee69cb1c00662b5e1f113a96b23
ipv6: include <net/addrconf.h> for missing declarations

Include <net/addrconf.h> for the missing declarations of
various functions. Fixes the following sparse warnings:

net/ipv6/addrconf_core.c:94:5: warning: symbol 'register_inet6addr_notifier' was not declared. Should it be static?
net/ipv6/addrconf_core.c:100:5: warning: symbol 'unregister_inet6addr_notifier' was not declared. Should it be static?
net/ipv6/addrconf_core.c:106:5: warning: symbol 'inet6addr_notifier_call_chain' was not declared. Should it be static?
net/ipv6/addrconf_core.c:112:5: warning: symbol 'register_inet6addr_validator_notifier' was not declared. Should it be static?
net/ipv6/addrconf_core.c:118:5: warning: symbol 'unregister_inet6addr_validator_notifier' was not declared. Should it be static?
net/ipv6/addrconf_core.c:125:5: warning: symbol 'inet6addr_validator_notifier_call_chain' was not declared. Should it be static?
net/ipv6/addrconf_core.c:237:6: warning: symbol 'in6_dev_finish_destroy' was not declared. Should it be static?

Signed-off-by: Ben Dooks (Codethink) <ben.dooks@codethink.co.uk>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
net/ipv6/addrconf_core.c