summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/fchmodat2/Makefile
diff options
context:
space:
mode:
authorMuhammad Usama Anjum <usama.anjum@collabora.com>2023-08-05 09:38:02 +0200
committerChristian Brauner <brauner@kernel.org>2023-08-05 12:40:44 +0200
commit71214379532794b5a05ea760524cdfb1c4ddbfcb (patch)
treeb2c936bf38fc710035327172232f111a658efcb4 /tools/testing/selftests/fchmodat2/Makefile
parentfchmodat2: add support for AT_EMPTY_PATH (diff)
downloadlinux-71214379532794b5a05ea760524cdfb1c4ddbfcb.tar.xz
linux-71214379532794b5a05ea760524cdfb1c4ddbfcb.zip
selftests: fchmodat2: remove duplicate unneeded defines
These duplicate defines should automatically be picked up from kernel headers. Use KHDR_INCLUDES to add kernel header files. Signed-off-by: Muhammad Usama Anjum <usama.anjum@collabora.com> Message-Id: <20230805073809.1753462-4-usama.anjum@collabora.com> Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'tools/testing/selftests/fchmodat2/Makefile')
-rw-r--r--tools/testing/selftests/fchmodat2/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/fchmodat2/Makefile b/tools/testing/selftests/fchmodat2/Makefile
index 45b519eab851..20839f8e43f2 100644
--- a/tools/testing/selftests/fchmodat2/Makefile
+++ b/tools/testing/selftests/fchmodat2/Makefile
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: GPL-2.0-or-later
-CFLAGS += -Wall -O2 -g -fsanitize=address -fsanitize=undefined
+CFLAGS += -Wall -O2 -g -fsanitize=address -fsanitize=undefined $(KHDR_INCLUDES)
TEST_GEN_PROGS := fchmodat2_test
include ../lib.mk