aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorKuniyuki Iwashima <kuniyu@google.com>2025-08-11 21:53:04 +0000
committerJakub Kicinski <kuba@kernel.org>2025-08-12 18:01:53 -0700
commit1838731f1072ce859ae3350547de4792f365760c (patch)
tree32d724d0bfd2321ef87810e65c629089876b9d88 /tools
parentselftest: af_unix: Silence -Wall warning for scm_pid.c. (diff)
downloadlinux-1838731f1072ce859ae3350547de4792f365760c.tar.gz
linux-1838731f1072ce859ae3350547de4792f365760c.zip
selftest: af_unix: Add -Wall and -Wflex-array-member-not-at-end to CFLAGS.
-Wall and -Wflex-array-member-not-at-end caught some warnings that will be fixed in later patches. Signed-off-by: Kuniyuki Iwashima <kuniyu@google.com> Link: https://patch.msgid.link/20250811215432.3379570-2-kuniyu@google.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools')
-rw-r--r--tools/testing/selftests/net/af_unix/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/net/af_unix/Makefile b/tools/testing/selftests/net/af_unix/Makefile
index a4b61c6d0290..0a20c98bbcfd 100644
--- a/tools/testing/selftests/net/af_unix/Makefile
+++ b/tools/testing/selftests/net/af_unix/Makefile
@@ -1,4 +1,4 @@
-CFLAGS += $(KHDR_INCLUDES)
+CFLAGS += $(KHDR_INCLUDES) -Wall -Wflex-array-member-not-at-end
TEST_GEN_PROGS := diag_uid msg_oob scm_inq scm_pidfd scm_rights unix_connect
include ../../lib.mk