summaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorQian Cai <cai@lca.pw>2019-07-16 11:43:05 -0400
committerDavid S. Miller <davem@davemloft.net>2019-07-16 14:12:06 -0700
commitdb8051f30fbab7f579d691137f1e23f3bb1ac2eb (patch)
treee0391f6e8fc339414d92164e048615d3e515ce25 /drivers/net
parent7429c6c0d9cb086d8e79f0d2a48ae14851d2115e (diff)
downloadlinux-db8051f30fbab7f579d691137f1e23f3bb1ac2eb.tar.gz
linux-db8051f30fbab7f579d691137f1e23f3bb1ac2eb.tar.bz2
linux-db8051f30fbab7f579d691137f1e23f3bb1ac2eb.zip
skbuff: fix compilation warnings in skb_dump()
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@lca.pw> Reviewed-by: Nathan Chancellor <natechancellor@gmail.com> Acked-by: Willem de Bruijn <willemb@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions