]> git.baikalelectronics.ru Git - kernel.git/commit
net-sysfs: Fix inconsistent of format with argument type in net-sysfs.c
authorYe Bin <yebin10@huawei.com>
Wed, 30 Sep 2020 01:08:38 +0000 (09:08 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 Oct 2020 01:45:23 +0000 (18:45 -0700)
commit3c7a91843d1b24e6cac42e19a8776f4221d5e358
tree62c1519310854e4c78aca2577f2f97bd7469eab7
parent4c0653f82abc32e886b2c66244f9fa696bb4f62f
net-sysfs: Fix inconsistent of format with argument type in net-sysfs.c

Fix follow warnings:
[net/core/net-sysfs.c:1161]: (warning) %u in format string (no. 1)
requires 'unsigned int' but the argument type is 'int'.
[net/core/net-sysfs.c:1162]: (warning) %u in format string (no. 1)
requires 'unsigned int' but the argument type is 'int'.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Ye Bin <yebin10@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/net-sysfs.c