[tip: timers/vdso] selftests: vDSO: Enable -Wall

tip-bot2 for Thomas Weißschuh posted 1 patch 3 months, 1 week ago
tools/testing/selftests/vDSO/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[tip: timers/vdso] selftests: vDSO: Enable -Wall
Posted by tip-bot2 for Thomas Weißschuh 3 months, 1 week ago
The following commit has been merged into the timers/vdso branch of tip:

Commit-ID:     8863cd78a0f10b5b81ca91a558b7e70bcb66e859
Gitweb:        https://git.kernel.org/tip/8863cd78a0f10b5b81ca91a558b7e70bcb66e859
Author:        Thomas Weißschuh <thomas.weissschuh@linutronix.de>
AuthorDate:    Wed, 11 Jun 2025 12:33:56 +02:00
Committer:     Thomas Gleixner <tglx@linutronix.de>
CommitterDate: Tue, 01 Jul 2025 15:50:42 +02:00

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

---
 tools/testing/selftests/vDSO/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/testing/selftests/vDSO/Makefile b/tools/testing/selftests/vDSO/Makefile
index 12a0614..06d7225 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