Skip to content

selftests/openat2, fchmodat2: fix clang build failures

John Hubbard linux-kselftest lkml llvm 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 4 repliesIn review
  2. v12 patches 11 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2selftests/openat2: fix clang build failures: -static-libasan, LOCAL_HDRStools/testing/selftests/openat2/Makefile+12 -22 replies
2/2selftests/fchmodat2: fix clang build failure due to -static-libasantools/testing/selftests/fchmodat2/Makefile+10 -11 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchRyan RobertsNathan Chancellor
1/2R-b R-b R-b
2/2R-b

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

Read the v2 thread

Cover letter [PATCH v2 0/2] selftests/openat2, fchmodat2: fix clang build failures

These two subsystems require very similar fixes, so I'm sending them out together.

Changes since the first version:

1) Rebased onto Linux 6.10-rc1.

2) Added a Reviewed-by tag from Ryan Roberts. See [1] for that.

Related work: I've sent a separate fix that allows "make CC=clang" to work in addition to "make LLVM=1" [2].

[1] https://lore.kernel.org/[email protected]
[2] https://lore.kernel.org/[email protected]

John Hubbard (2):
selftests/openat2: fix clang build failures: -static-libasan,
LOCAL_HDRS
selftests/fchmodat2: fix clang build failure due to -static-libasan

 tools/testing/selftests/fchmodat2/Makefile | 11 ++++++++++-
 tools/testing/selftests/openat2/Makefile   | 14 ++++++++++++--
 2 files changed, 22 insertions(+), 3 deletions(-)

base-commit: cc8ed4d0a8486c7472cd72ec3c19957e509dc68c

Signature · 1 line
2.45.1