summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>2025-06-11 12:33:56 +0200
committerThomas Gleixner <tglx@linutronix.de>2025-07-01 15:50:42 +0200
commit8863cd78a0f10b5b81ca91a558b7e70bcb66e859 (patch)
treec48414fcc9412747e4cb44880dcb7a9b6fe55ae4
parentecabe99a0354fcfa237b75d72a2707b3ace3d5e9 (diff)
selftests: vDSO: Enable -Wall
Protect against common programming errors through compiler warnings. These warnings are also used for the kernel itself. Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/all/20250611-selftests-vdso-fixes-v3-6-e62e37a6bcf5@linutronix.de
-rw-r--r--tools/testing/selftests/vDSO/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/vDSO/Makefile b/tools/testing/selftests/vDSO/Makefile
index 12a0614b9fd4..06d72254ec75 100644
--- a/tools/testing/selftests/vDSO/Makefile
+++ b/tools/testing/selftests/vDSO/Makefile
@@ -12,7 +12,7 @@ TEST_GEN_PROGS += vdso_test_correctness
TEST_GEN_PROGS += vdso_test_getrandom
TEST_GEN_PROGS += vdso_test_chacha
-CFLAGS := -std=gnu99 -O2
+CFLAGS := -std=gnu99 -O2 -Wall
ifeq ($(CONFIG_X86_32),y)
LDLIBS += -lgcc_s