public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
* [PATCH v2 0/3] selftests/futex: clang-inspired fixes
@ 2024-05-29  2:29 John Hubbard
  2024-05-29  2:29 ` [PATCH v2 1/3] selftests/futex: don't redefine .PHONY targets (all, clean) John Hubbard
                   ` (3 more replies)
  0 siblings, 4 replies; 15+ messages in thread
From: John Hubbard @ 2024-05-29  2:29 UTC (permalink / raw)
  To: Shuah Khan
  Cc: Thomas Gleixner, Ingo Molnar, Peter Zijlstra, Darren Hart,
	Davidlohr Bueso, Edward Liaw, André Almeida, Nysal Jan K . A,
	Mark Brown, Valentin Obst, linux-kselftest, LKML, llvm,
	John Hubbard

Hi,

Here's a few fixes that are part of my effort to get all selftests
building cleanly under clang. Plus one that I noticed by inspection.

Changes since the first version:

1) Rebased onto Linux 6.10-rc1
2) Added Reviewed-by's.

...and it turns out that all three patches are still required, on -rc1,
in order to get a clean clang build.

Enjoy!

thanks,
John Hubbard

John Hubbard (3):
  selftests/futex: don't redefine .PHONY targets (all, clean)
  selftests/futex: don't pass a const char* to asprintf(3)
  selftests/futex: pass _GNU_SOURCE without a value to the compiler

 tools/testing/selftests/futex/Makefile                      | 2 --
 tools/testing/selftests/futex/functional/Makefile           | 2 +-
 tools/testing/selftests/futex/functional/futex_requeue_pi.c | 2 +-
 3 files changed, 2 insertions(+), 4 deletions(-)


base-commit: e0cce98fe279b64f4a7d81b7f5c3a23d80b92fbc
-- 
2.45.1


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2024-05-30 21:15 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-29  2:29 [PATCH v2 0/3] selftests/futex: clang-inspired fixes John Hubbard
2024-05-29  2:29 ` [PATCH v2 1/3] selftests/futex: don't redefine .PHONY targets (all, clean) John Hubbard
2024-05-30 19:03   ` Shuah Khan
2024-05-30 19:13     ` John Hubbard
2024-05-30 21:12       ` Shuah Khan
2024-05-30 21:14         ` John Hubbard
2024-05-29  2:29 ` [PATCH v2 2/3] selftests/futex: don't pass a const char* to asprintf(3) John Hubbard
2024-05-30 19:04   ` Shuah Khan
2024-05-30 19:16     ` John Hubbard
2024-05-30 21:13       ` Shuah Khan
2024-05-30 21:15         ` John Hubbard
2024-05-29  2:29 ` [PATCH v2 3/3] selftests/futex: pass _GNU_SOURCE without a value to the compiler John Hubbard
2024-05-30 19:07   ` Shuah Khan
2024-05-30 14:23 ` [PATCH v2 0/3] selftests/futex: clang-inspired fixes Shuah Khan
2024-05-30 19:09   ` Shuah Khan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox