Watch
1
Fork
You've already forked kernel_a52xq
0
mirror of https://github.com/a52xq-dev/kernel.git synced 2026-10-18 21:58:11 +07:00
kernel_a52xq/tools/testing/selftests/networking/timestamping
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Tanner Love fbd97d5b22 selftests/net: rxtimestamp: fix clang issues for target arch PowerPC
[ Upstream commit 955cbe91bcf782c09afe369c95a20f0a4b6dcc3c ]

The signedness of char is implementation-dependent. Some systems
(including PowerPC and ARM) use unsigned char. Clang 9 threw:
warning: result of comparison of constant -1 with expression of type \
'char' is always true [-Wtautological-constant-out-of-range-compare]
                                  &arg_index)) != -1) {

Tested: make -C tools/testing/selftests TARGETS="net" run_tests

Fixes: 16e7812241 ("selftests/net: Add a test to validate behavior of rx timestamps")
Signed-off-by: Tanner Love <tannerlove@google.com>
Acked-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-08-05 10:06:02 +02:00
..
.gitignore selftests/net: Add a test to validate behavior of rx timestamps 2017-08-23 20:30:47 -07:00
hwtstamp_config.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Makefile selftests: Fix test errors related to lib.mk khdr target 2019-01-22 21:40:38 +01:00
rxtimestamp.c selftests/net: rxtimestamp: fix clang issues for target arch PowerPC 2020-08-05 10:06:02 +02:00
timestamping.c selftests/net: in timestamping, strncpy needs to preserve null byte 2020-06-25 15:33:04 +02:00
txtimestamp.c selftests/txtimestamp: Add more configurable parameters 2018-03-16 15:05:57 -04:00