Hi Dave, While inspecting the code of inet6_pton() I found an open-coded strlcpy() implementation in that function. The last patch in this series simplifies inet6_pton() and the first six patches address 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. Bart Van Assche (7): 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: Declare a local function 'static' net/utils: Use strlcpy() instead of open-coding it net/core/datagram.c | 3 +++ net/core/datagram.h | 13 +++++++++++++ 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 ++ net/core/utils.c | 6 +----- 8 files changed, 31 insertions(+), 12 deletions(-) create mode 100644 net/core/datagram.h -- 2.21.0.155.ge902e9bcae20