]> asedeno.scripts.mit.edu Git - linux.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)
commit670cd6849ea36ea4df2f2941cf4717dff8755abe
treeac18316f63cd4daa0d5f503116c06620e2289618
parente698a2378e70cac1d6f70e7f119968a0716f8566
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