commit | 1faba27f11c8da244e793546a1b35a9b1da8208e | [log] [tgz] |
---|---|---|
author | Leon Romanovsky <leonro@nvidia.com> | Wed Feb 03 15:51:09 2021 +0200 |
committer | Jakub Kicinski <kuba@kernel.org> | Thu Feb 04 18:37:56 2021 -0800 |
tree | 417b2f758c1981f2df29440d2bde494cf5aec2c1 | |
parent | 8f8a42ff003aaa3c1424923154c9a92f3bd4c634 [diff] |
ipv6: silence compilation warning for non-IPV6 builds The W=1 compilation of allmodconfig generates the following warning: net/ipv6/icmp.c:448:6: warning: no previous prototype for 'icmp6_send' [-Wmissing-prototypes] 448 | void icmp6_send(struct sk_buff *skb, u8 type, u8 code, __u32 info, | ^~~~~~~~~~ Fix it by providing function declaration for builds with ipv6 as a module. Signed-off-by: Leon Romanovsky <leonro@nvidia.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>