Skip to content

kselftest/arm64: Fix compilation warnings/errors in the arm64 tests

Catalin Marinas linux-arm-kernel linux-kselftest lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4kselftest/arm64: Fix printf() compiler warnings in the arm64 fp teststools/testing/selftests/arm64/fp/sve-ptrace.c tools/testing/selftests/arm64/fp/za-ptrace.c tools/testing/selftests/arm64/fp/zt-ptrace.c+19 -131 reply
2/4kselftest/arm64: Fix printf() warning in the arm64 MTE prctl() testtools/testing/selftests/arm64/mte/check_prctl.c+1 -14 replies
3/4kselftest/arm64: Fix printf() compiler warnings in the arm64 syscall-abi.c teststools/testing/selftests/arm64/abi/syscall-abi.c+4 -41 reply
4/4kselftest/arm64: Fix compilation of SME instructions in the arm64 fp teststools/testing/selftests/arm64/fp/za-test.S tools/testing/selftests/arm64/fp/zt-test.S+2 -02 replies

Reviews trailers per patch

2 of 4 patches have a Reviewed-by or Acked-by.

PatchMark Brown
1/4R-b
2/4
3/4R-b
4/4

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/4] kselftest/arm64: Fix compilation warnings/errors in the arm64 tests

It looks like people started ignoring the compiler warnings (or even errors) when building the arm64-specific kselftests. The first three patches are printf() arguments adjustment. The last one adds ".arch_extension sme", otherwise they fail to build (with my toolchain versions at least).

Note for future kselftest contributors - try to keep them warning-free.

Catalin Marinas (4):
kselftest/arm64: Fix printf() compiler warnings in the arm64 fp tests kselftest/arm64: Fix printf() warning in the arm64 MTE prctl() test kselftest/arm64: Fix printf() compiler warnings in the arm64
syscall-abi.c tests
kselftest/arm64: Fix compilation of SME instructions in the arm64 fp
tests

 tools/testing/selftests/arm64/abi/syscall-abi.c |  8 ++++----
 tools/testing/selftests/arm64/fp/sve-ptrace.c   | 16 +++++++++-------
 tools/testing/selftests/arm64/fp/za-ptrace.c    |  8 +++++---
 tools/testing/selftests/arm64/fp/za-test.S      |  1 +
 tools/testing/selftests/arm64/fp/zt-ptrace.c    |  8 +++++---
 tools/testing/selftests/arm64/fp/zt-test.S      |  1 +
 tools/testing/selftests/arm64/mte/check_prctl.c |  2 +-
 7 files changed, 26 insertions(+), 18 deletions(-)