diff options
author | Leon Romanovsky <leonro@nvidia.com> | 2021-02-03 16:51:09 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-03-04 13:38:46 +0300 |
commit | b60108e72f0051db3d30341e5df3d4c1127fb96b (patch) | |
tree | 09ea13aec3c75d27443986070365721d2550ee14 /drivers/char/ipmi | |
parent | 13e83186c91a1e0990cbd2d4ef6b7d572bcc9277 (diff) | |
download | linux-b60108e72f0051db3d30341e5df3d4c1127fb96b.tar.xz |
ipv6: silence compilation warning for non-IPV6 builds
commit 1faba27f11c8da244e793546a1b35a9b1da8208e upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/char/ipmi')
0 files changed, 0 insertions, 0 deletions