Re: [PATCH net v2] skbuff: fix compilation warnings in skb_dump()

2019-07-16 Thread David Miller
From: Qian Cai Date: Tue, 16 Jul 2019 11:43:05 -0400 > 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'

Re: [PATCH net v2] skbuff: fix compilation warnings in skb_dump()

2019-07-16 Thread Willem de Bruijn
On Tue, Jul 16, 2019 at 6:53 PM Nathan Chancellor 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

Re: [PATCH net v2] skbuff: fix compilation warnings in skb_dump()

2019-07-16 Thread Nathan Chancellor
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

[PATCH net v2] skbuff: fix compilation warnings in skb_dump()

2019-07-16 Thread Qian Cai
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,