[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190716.141224.1393775814190631111.davem@davemloft.net>
Date: Tue, 16 Jul 2019 14:12:24 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: cai@....pw
Cc: willemb@...gle.com, joe@...ches.com,
clang-built-linux@...glegroups.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH net v2] skbuff: fix compilation warnings in skb_dump()
From: Qian Cai <cai@....pw>
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' [-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>
Applied, thank you.
Powered by blists - more mailing lists