Skip to content

Commit 5a8d0c4

Browse files
masahir0ykees
authored andcommitted
fortify: move test_fortify.sh to lib/test_fortify/
This script is only used in lib/test_fortify/. There is no reason to keep it in scripts/. Signed-off-by: Masahiro Yamada <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Kees Cook <[email protected]>
1 parent 4e9903b commit 5a8d0c4

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

MAINTAINERS

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8772,7 +8772,6 @@ F: include/linux/fortify-string.h
87728772
F: lib/fortify_kunit.c
87738773
F: lib/memcpy_kunit.c
87748774
F: lib/test_fortify/*
8775-
F: scripts/test_fortify.sh
87768775
K: \b__NO_FORTIFY\b
87778776

87788777
FPGA DFL DRIVERS

lib/test_fortify/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
ccflags-y := $(call cc-disable-warning,fortify-source)
44

55
quiet_cmd_test_fortify = TEST $@
6-
cmd_test_fortify = $(CONFIG_SHELL) $(srctree)/scripts/test_fortify.sh \
6+
cmd_test_fortify = $(CONFIG_SHELL) $(src)/test_fortify.sh \
77
$< $@ "$(NM)" $(CC) $(c_flags) -DKBUILD_EXTRA_WARN1
88

9-
$(obj)/%.log: $(src)/%.c $(srctree)/scripts/test_fortify.sh \
9+
$(obj)/%.log: $(src)/%.c $(src)/test_fortify.sh \
1010
$(src)/test_fortify.h \
1111
$(srctree)/include/linux/fortify-string.h \
1212
FORCE
File renamed without changes.

0 commit comments

Comments
 (0)