Skip to content

Fix W=1 compilation warnings in net/* folder

Leon Romanovsky lkml lvs-devel netdev netfilter-devel 2 versions Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 1 replyApplied
  2. v14 patches 1 replySuperseded

Changes in v2 from the cover letter

* 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]
------------------------------------------------------------------
Hi,

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/4ipv6: silence compilation warning for non-IPV6 buildsinclude/linux/icmpv6.h+1 -10 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 gro function declarations to separate headerinclude/net/gro.h net/core/dev.c net/ipv6/ip6_offload.c+14 -60 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 v2 yet.

Read the v2 thread

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

From: Leon Romanovsky <[email protected]>

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]
------------------------------------------------------------------
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 gro function declarations to separate header
netfilter: move handlers to net/ip_vs.h

 include/linux/icmpv6.h          |  2 +-
 include/net/gro.h               | 12 ++++++++++++
 include/net/ip_vs.h             | 11 +++++++++++
 include/net/udp.h               |  3 +++
 net/core/dev.c                  |  7 +------
 net/ipv6/ip6_input.c            |  3 +--
 net/ipv6/ip6_offload.c          |  1 +
 net/netfilter/ipvs/ip_vs_core.c | 12 ------------
 8 files changed, 30 insertions(+), 21 deletions(-)
 create mode 100644 include/net/gro.h

--
2.29.2