Skip to content

kselftest/arm64: various compilation fixes

Andre Przywara linux-arm-kernel linux-kselftest 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8kselftest/arm64: signal: drop now redundant GNU_SOURCE definitiontools/testing/selftests/arm64/signal/Makefile+1 -11 reply
2/8kselftest/arm64: hwcap: fix f8dp2 cpuinfo nametools/testing/selftests/arm64/abi/hwcap.c+1 -11 reply
3/8kselftest/arm64: mte: use proper SKIP syntaxtools/testing/selftests/arm64/mte/mte_common_util.c+3 -41 reply
4/8kselftest/arm64: mte: use string literal for printf-style functionstools/testing/selftests/arm64/mte/mte_common_util.h+3 -31 reply
5/8kselftest/arm64: mte: fix printf type warning about masktools/testing/selftests/arm64/mte/check_prctl.c+2 -23 replies
6/8kselftest/arm64: mte: fix printf type warnings about __u64tools/testing/selftests/arm64/mte/mte_common_util.c+2 -21 reply
7/8kselftest/arm64: mte: fix printf type warnings about pointerstools/testing/selftests/arm64/mte/check_buffer_fill.c tools/testing/selftests/arm64/mte/mte_common_util.c+4 -43 replies
8/8kselftest/arm64: mte: fix printf type warnings about longstools/testing/selftests/arm64/mte/check_tags_inclusion.c+2 -21 reply

Reviews trailers per patch

7 of 8 patches have a Reviewed-by or Acked-by.

PatchMark Brown
1/8R-b
2/8R-b
3/8R-b
4/8R-b
5/8
6/8R-b
7/8R-b
8/8R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/8] kselftest/arm64: various compilation fixes

This fixes several smaller issues I faced when compiling the arm64 kselftests on my machine.
Patch 1 avoids a warning about the double definition of GNU_SOURCE, for the arm64/signal tests. Patch 2 fixes a typo, where the f8dp2 hwcap feature test was looking at the f8dp*4* cpuinfo name. Patch 3 adjusts the output of the MTE tests when MTE is not available, so that tools parsing the TAP output don't get confused and report errors. The remaining patches are about wrong printf format specifiers. I grouped them by type of error, in patch 4-8.

Please have a look!

Cheers,
Andre

Andre Przywara (8):
kselftest/arm64: signal: drop now redundant GNU_SOURCE definition kselftest/arm64: hwcap: fix f8dp2 cpuinfo name kselftest/arm64: mte: use proper SKIP syntax kselftest/arm64: mte: use string literal for printf-style functions kselftest/arm64: mte: fix printf type warning about mask kselftest/arm64: mte: fix printf type warnings about __u64 kselftest/arm64: mte: fix printf type warnings about pointers kselftest/arm64: mte: fix printf type warnings about longs

 tools/testing/selftests/arm64/abi/hwcap.c         |  2 +-
 .../selftests/arm64/mte/check_buffer_fill.c       |  4 ++--
 tools/testing/selftests/arm64/mte/check_prctl.c   |  4 ++--
 .../selftests/arm64/mte/check_tags_inclusion.c    |  4 ++--
 .../testing/selftests/arm64/mte/mte_common_util.c | 15 +++++++--------
 .../testing/selftests/arm64/mte/mte_common_util.h |  6 +++---
 tools/testing/selftests/arm64/signal/Makefile     |  2 +-
 7 files changed, 18 insertions(+), 19 deletions(-)
Signature · 1 line
2.25.1