Re: [PATCH v5 44/68] selftests/powerpc: Drop define _GNU_SOURCE

2024-05-22 Thread Michael Ellerman
Edward Liaw writes: > _GNU_SOURCE is provided by lib.mk, so it should be dropped to prevent > redefinition warnings. Most of these tests build with -Werror, so the duplicate define is actually a hard error. Can you put this patch earlier in the series at least? cheers > Signed-off-by: Edward Li

[PATCH v5 44/68] selftests/powerpc: Drop define _GNU_SOURCE

2024-05-21 Thread Edward Liaw
_GNU_SOURCE is provided by lib.mk, so it should be dropped to prevent redefinition warnings. Signed-off-by: Edward Liaw --- tools/testing/selftests/powerpc/benchmarks/context_switch.c| 2 -- tools/testing/selftests/powerpc/benchmarks/exec_target.c | 2 -- tools/testing/selftests/powerp