Skip to content

Fix W=1 compilation warnings in net/* folder

Leon Romanovsky lkml lvs-devel netdev netfilter-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4ipv6: silence compilation warning for non-IPV6 buildsnet/ipv6/icmp.c+6 -03 replies
2/4ipv6: move udp declarations to net/udp.hinclude/net/udp.h net/ipv6/ip6_input.c+4 -20 replies
3/4net/core: move ipv6 gro function declarations to net/ipv6include/net/ipv6.h net/core/dev.c+4 -32 replies
4/4netfilter: move handlers to net/ip_vs.hinclude/net/ip_vs.h net/netfilter/ipvs/ip_vs_core.c+11 -120 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net 0/4] Fix W=1 compilation warnings in net/* folder

From: Leon Romanovsky <[email protected]>

Hi,

This short series fixes W=1 compilation warnings which I experienced when tried to compile net/* folder.

Thanks

Leon Romanovsky (4):
ipv6: silence compilation warning for non-IPV6 builds
ipv6: move udp declarations to net/udp.h net/core: move ipv6 gro function declarations to net/ipv6
netfilter: move handlers to net/ip_vs.h

 include/net/ip_vs.h             | 11 +++++++++++
 include/net/ipv6.h              |  3 +++
 include/net/udp.h               |  3 +++
 net/core/dev.c                  |  4 +---
 net/ipv6/icmp.c                 |  6 ++++++
 net/ipv6/ip6_input.c            |  3 +--
 net/netfilter/ipvs/ip_vs_core.c | 12 ------------
 7 files changed, 25 insertions(+), 17 deletions(-)

--
2.29.2