aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/drivers/net/mlxsw/qos_lib.sh
diff options
context:
space:
mode:
authorPatrick Talbert <ptalbert@redhat.com>2019-05-17 17:11:28 +0200
committerDavid S. Miller <davem@davemloft.net>2019-05-19 10:31:10 -0700
commitea9a03791a73e853897eda93e139018ca38f3c94 (patch)
tree476ac5b8a6585480fcac43801f706ed35a2abc4d /tools/testing/selftests/drivers/net/mlxsw/qos_lib.sh
parentkselftests: netfilter: fix leftover net/net-next merge conflict (diff)
downloadlinux-dev-ea9a03791a73e853897eda93e139018ca38f3c94.tar.xz
linux-dev-ea9a03791a73e853897eda93e139018ca38f3c94.zip
net: Treat sock->sk_drops as an unsigned int when printing
Currently, procfs socket stats format sk_drops as a signed int (%d). For large values this will cause a negative number to be printed. We know the drop count can never be a negative so change the format specifier to %u. Signed-off-by: Patrick Talbert <ptalbert@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/drivers/net/mlxsw/qos_lib.sh')
0 files changed, 0 insertions, 0 deletions