mbox series

[iproute2-next,00/11] Clang warning fixes

Message ID 20220108204650.36185-1-sthemmin@microsoft.com (mailing list archive)
Headers show
Series Clang warning fixes | expand

Message

Stephen Hemminger Jan. 8, 2022, 8:46 p.m. UTC
Building iproute2-next generates a lot of warnings and
finds a few bugs.  This patchset resolves many of these
warnings but some areas (BPF, RDMA, DCB) need more work.

Stephen Hemminger (11):
  tc: add format attribute to tc_print_rate
  utils: add format attribute
  netem: fix clang warnings
  m_vlan: fix formatting of push ethernet src mac
  flower: fix clang warnings
  nexthop: fix clang warning about timer check
  tc_util: fix clang warning in print_masked_type
  ipl2tp: fix clang warning
  can: fix clang warning
  tipc: fix clang warning about empty format string
  tunnel: fix clang warning

 include/utils.h |  4 +++-
 ip/ipl2tp.c     |  5 ++--
 ip/iplink_can.c |  5 ++--
 ip/ipnexthop.c  | 10 ++++----
 ip/tunnel.c     |  6 ++---
 tc/f_flower.c   | 62 +++++++++++++++++++++++--------------------------
 tc/m_vlan.c     |  4 ++--
 tc/q_netem.c    | 33 +++++++++++++++-----------
 tc/tc_util.c    | 21 +++++++----------
 tipc/link.c     |  2 +-
 10 files changed, 77 insertions(+), 75 deletions(-)

Comments

Stephen Hemminger Jan. 10, 2022, 5:20 p.m. UTC | #1
On Sat,  8 Jan 2022 12:46:39 -0800
Stephen Hemminger <stephen@networkplumber.org> wrote:

> Building iproute2-next generates a lot of warnings and
> finds a few bugs.  This patchset resolves many of these
> warnings but some areas (BPF, RDMA, DCB) need more work.
> 
> Stephen Hemminger (11):
>   tc: add format attribute to tc_print_rate
>   utils: add format attribute
>   netem: fix clang warnings
>   m_vlan: fix formatting of push ethernet src mac
>   flower: fix clang warnings
>   nexthop: fix clang warning about timer check
>   tc_util: fix clang warning in print_masked_type
>   ipl2tp: fix clang warning
>   can: fix clang warning
>   tipc: fix clang warning about empty format string
>   tunnel: fix clang warning
> 
>  include/utils.h |  4 +++-
>  ip/ipl2tp.c     |  5 ++--
>  ip/iplink_can.c |  5 ++--
>  ip/ipnexthop.c  | 10 ++++----
>  ip/tunnel.c     |  6 ++---
>  tc/f_flower.c   | 62 +++++++++++++++++++++++--------------------------
>  tc/m_vlan.c     |  4 ++--
>  tc/q_netem.c    | 33 +++++++++++++++-----------
>  tc/tc_util.c    | 21 +++++++----------
>  tipc/link.c     |  2 +-
>  10 files changed, 77 insertions(+), 75 deletions(-)
> 

Will resend this after 5.16 merge. Some of these are already fixed