tmp_suning_uos_patched/net/phonet
Patrick Talbert ea9a03791a 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>
2019-05-19 10:31:10 -07:00
..
af_phonet.c net: phonet: mark phonet_protocol as const 2017-10-07 23:15:08 +01:00
datagram.c net: phonet: mark phonet_protocol as const 2017-10-07 23:15:08 +01:00
Kconfig
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pep-gprs.c net: Fix inconsistent teardown and release of private netdev state. 2017-06-07 15:53:24 -04:00
pep.c phonet: fix building with clang 2019-02-21 16:23:56 -08:00
pn_dev.c proc: introduce proc_create_net{,_data} 2018-05-16 07:24:30 +02:00
pn_netlink.c netlink: make validation more configurable for future strictness 2019-04-27 17:07:21 -04:00
socket.c net: Treat sock->sk_drops as an unsigned int when printing 2019-05-19 10:31:10 -07:00
sysctl.c