mbox series

[0/3] selftests/futex: clang-inspired fixes

Message ID 20240503041843.99136-1-jhubbard@nvidia.com (mailing list archive)
Headers show
Series selftests/futex: clang-inspired fixes | expand

Message

John Hubbard May 3, 2024, 4:18 a.m. UTC
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.

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: f03359bca01bf4372cf2c118cd9a987a5951b1c8
prerequisite-patch-id: b901ece2a5b78503e2fb5480f20e304d36a0ea27

Comments

Davidlohr Bueso May 6, 2024, 4:13 p.m. UTC | #1
On Thu, 02 May 2024, John Hubbard wrote:

>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.
>

lgtm - feel free to add:

Reviewed-by: Davidlohr Bueso <dave@stgolabs.net>