]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: net: Fix printf format warnings on arm
authorMasami Hiramatsu <mhiramat@kernel.org>
Wed, 23 Oct 2019 04:58:07 +0000 (13:58 +0900)
committerShuah Khan <skhan@linuxfoundation.org>
Thu, 7 Nov 2019 21:54:08 +0000 (14:54 -0700)
commit863ed38e2169b8d7b812f849071f6afe9e901ef1
treeac18316f63cd4daa0d5f503116c06620e2289618
parentd0992c904d2ca6a9d0abbf61f8737e33e68587f8
selftests: net: Fix printf format warnings on arm

Fix printf format warnings on arm (and other 32bit arch).

 - udpgso.c and udpgso_bench_tx use %lu for size_t but it
   should be unsigned long long on 32bit arch.

 - so_txtime.c uses %ld for int64_t, but it should be
   unsigned long long on 32bit arch.

Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Willem de Bruijn <willemb@google.com>
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/net/so_txtime.c
tools/testing/selftests/net/udpgso.c
tools/testing/selftests/net/udpgso_bench_tx.c