lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAF=yD-JixO-3HbxFn6BHa5aJY-dJTrNq4sWKneP4XA=xxU8Qnw@mail.gmail.com>
Date:   Tue, 16 Jul 2019 21:01:06 +0200
From:   Willem de Bruijn <willemdebruijn.kernel@...il.com>
To:     Nathan Chancellor <natechancellor@...il.com>
Cc:     Qian Cai <cai@....pw>, David Miller <davem@...emloft.net>,
        Willem de Bruijn <willemb@...gle.com>, joe@...ches.com,
        clang-built-linux@...glegroups.com,
        Network Development <netdev@...r.kernel.org>,
        LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH net v2] skbuff: fix compilation warnings in skb_dump()

On Tue, Jul 16, 2019 at 6:53 PM Nathan Chancellor
<natechancellor@...il.com> wrote:
>
> On Tue, Jul 16, 2019 at 11:43:05AM -0400, Qian Cai wrote:
> > The commit 6413139dfc64 ("skbuff: increase verbosity when dumping skb
> > data") introduced a few compilation warnings.
> >
> > net/core/skbuff.c:766:32: warning: format specifies type 'unsigned
> > short' but the argument has type 'unsigned int' [-Wformat]
> >                        level, sk->sk_family, sk->sk_type,
> > sk->sk_protocol);
> >                                              ^~~~~~~~~~~
> > net/core/skbuff.c:766:45: warning: format specifies type 'unsigned
> > short' but the argument has type 'unsigned int' [-Wformat]
> >                        level, sk->sk_family, sk->sk_type,
> > sk->sk_protocol);
> > ^~~~~~~~~~~~~~~
> >
> > Fix them by using the proper types.
> >
> > Fixes: 6413139dfc64 ("skbuff: increase verbosity when dumping skb data")
> > Signed-off-by: Qian Cai <cai@....pw>
>
> Reviewed-by: Nathan Chancellor <natechancellor@...il.com>

Acked-by: Willem de Bruijn <willemb@...gle.com>

Thanks Qian.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ