Skip to content

Fix net/core W=1 warnings

Bart Van Assche netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 5 repliesIn review
  2. v17 patches 5 repliesSuperseded

Changes in v2 from the cover letter

- Dropped two patches from this series.
- Rebased this patch series on top of
git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5net/core: Document reuseport_add_sock() bind_inany argumentnet/core/sock_reuseport.c+2 -00 replies
2/5net/core: Document all dev_ioctl() argumentsnet/core/dev_ioctl.c+2 -10 replies
3/5net/core: Document __skb_flow_dissect() flags argumentnet/core/flow_dissector.c+2 -00 replies
4/5net/core: Fix rtnetlink kernel-doc headersnet/core/rtnetlink.c+6 -30 replies
5/5net/core: Allow the compiler to verify declaration and definition consistencynet/core/datagram.c net/core/datagram.h net/core/skbuff.c+19 -35 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 0/5] Fix net/core W=1 warnings

Hi Dave,

This patch series addresses the compiler warnings reported when building the code in net/core with W=1. Please consider this patch series for kernel v5.2.

Thanks,

Bart.

Changes compared to v1:
- Dropped two patches from this series.
- Rebased this patch series on top of
git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git

Bart Van Assche (5):
net/core: Document reuseport_add_sock() bind_inany argument net/core: Document all dev_ioctl() arguments
net/core: Document __skb_flow_dissect() flags argument net/core: Fix rtnetlink kernel-doc headers
net/core: Allow the compiler to verify declaration and definition
consistency

 net/core/datagram.c       |  2 ++
 net/core/datagram.h       | 15 +++++++++++++++
 net/core/dev_ioctl.c      |  3 ++-
 net/core/flow_dissector.c |  2 ++
 net/core/rtnetlink.c      |  9 ++++++---
 net/core/skbuff.c         |  5 ++---
 net/core/sock_reuseport.c |  2 ++
 7 files changed, 31 insertions(+), 7 deletions(-)
 create mode 100644 net/core/datagram.h
Signature · 1 line
2.21.0.155.ge902e9bcae20