]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
pktgen: Fix inconsistent of format with argument type in pktgen.c
authorYe Bin <yebin10@huawei.com>
Wed, 30 Sep 2020 01:08:37 +0000 (09:08 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 Oct 2020 01:45:23 +0000 (18:45 -0700)
commit32be425b45f71660732395a0c7a7927540eb67cb
tree9e56c546da1f887d472115e11fc6aaf539cf5e29
parent8306266c1d51aac9aa7aa907fe99032a58c6382c
pktgen: Fix inconsistent of format with argument type in pktgen.c

Fix follow warnings:
[net/core/pktgen.c:925]: (warning) %u in format string (no. 1)
requires 'unsigned int' but the argument type is 'signed int'.
[net/core/pktgen.c:942]: (warning) %u in format string (no. 1)
requires 'unsigned int' but the argument type is 'signed int'.
[net/core/pktgen.c:962]: (warning) %u in format string (no. 1)
requires 'unsigned int' but the argument type is 'signed int'.
[net/core/pktgen.c:984]: (warning) %u in format string (no. 1)
requires 'unsigned int' but the argument type is 'signed int'.
[net/core/pktgen.c:1149]: (warning) %d in format string (no. 1)
requires 'int' but the argument type is 'unsigned 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/pktgen.c