diff options
| author | Jakub Kicinski <[email protected]> | 2021-02-04 18:38:01 -0800 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2021-02-04 18:38:02 -0800 |
| commit | c56006f89fbc224d61c3a16fe44de9616ad3e3bf (patch) | |
| tree | 8ea798be48b0b48babe507d9bedf66dd6da03714 /include/linux | |
| parent | 8f8a42ff003aaa3c1424923154c9a92f3bd4c634 (diff) | |
| parent | edf597da02a01edb26bddf06890fb81eee3d82cf (diff) | |
Merge branch 'fix-w-1-compilation-warnings-in-net-folder'
Leon Romanovsky says:
====================
Fix W=1 compilation warnings in net/* folder
Changelog:
v2:
* Patch 3: Added missing include file.
v1: https://lore.kernel.org/lkml/[email protected]
* Removed Fixes lines.
* Changed target from net to be net-next.
* Patch 1: Moved function declaration to be outside config instead
games with if/endif.
* Patch 3: Moved declarations to new header file.
v0: https://lore.kernel.org/lkml/[email protected]
====================
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/icmpv6.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/icmpv6.h b/include/linux/icmpv6.h index 1b3371ae8193..452d8978ffc7 100644 --- a/include/linux/icmpv6.h +++ b/include/linux/icmpv6.h @@ -16,9 +16,9 @@ static inline struct icmp6hdr *icmp6_hdr(const struct sk_buff *skb) typedef void ip6_icmp_send_t(struct sk_buff *skb, u8 type, u8 code, __u32 info, const struct in6_addr *force_saddr); -#if IS_BUILTIN(CONFIG_IPV6) void icmp6_send(struct sk_buff *skb, u8 type, u8 code, __u32 info, const struct in6_addr *force_saddr); +#if IS_BUILTIN(CONFIG_IPV6) static inline void icmpv6_send(struct sk_buff *skb, u8 type, u8 code, __u32 info) { icmp6_send(skb, type, code, info, NULL); |