diff options
| author | Ye Bin <[email protected]> | 2020-09-30 01:08:37 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2020-10-02 01:45:23 +0000 |
| commit | 32be425b45f71660732395a0c7a7927540eb67cb (patch) | |
| tree | 9e56c546da1f887d472115e11fc6aaf539cf5e29 /tools/testing/selftests/bpf/prog_tests/sockmap_basic.c | |
| parent | drivers/net/wan/hdlc_fr: Correctly handle special skb->protocol values (diff) | |
| download | kernel-32be425b45f71660732395a0c7a7927540eb67cb.tar.gz kernel-32be425b45f71660732395a0c7a7927540eb67cb.zip | |
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 <[email protected]>
Signed-off-by: Ye Bin <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/sockmap_basic.c')
0 files changed, 0 insertions, 0 deletions
