Skip to content

Commit 8863cd7

Browse files
t-8chKAGA-KOKO
authored andcommitted
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
1 parent ecabe99 commit 8863cd7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/testing/selftests/vDSO/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ TEST_GEN_PROGS += vdso_test_correctness
1212
TEST_GEN_PROGS += vdso_test_getrandom
1313
TEST_GEN_PROGS += vdso_test_chacha
1414

15-
CFLAGS := -std=gnu99 -O2
15+
CFLAGS := -std=gnu99 -O2 -Wall
1616

1717
ifeq ($(CONFIG_X86_32),y)
1818
LDLIBS += -lgcc_s

0 commit comments

Comments
 (0)