summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2024-11-14 00:45:23 +0100
committerMasahiro Yamada <masahiroy@kernel.org>2024-11-28 00:11:55 +0100
commit1b466b29a3bf02ed95f28682a975f41ae47bce7d (patch)
treeccd8213c359dd2cce89ff66c90b11536c85135f6 /scripts
parentkbuild: enable objtool for *.mod.o and additional kernel objects (diff)
downloadlinux-1b466b29a3bf02ed95f28682a975f41ae47bce7d.tar.xz
linux-1b466b29a3bf02ed95f28682a975f41ae47bce7d.zip
kbuild: re-enable KCSAN for autogenerated *.mod.c intermediaries
This reverts commit 54babdc0343f ("kbuild: Disable KCSAN for autogenerated *.mod.c intermediaries"). Now that objtool is enabled for *.mod.c, there is no need to filter out CFLAGS_KCSAN. I no longer see "Unpatched return thunk in use. This should not happen!" error with KCSAN when loading a module. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Makefile.modfinal1
1 files changed, 0 insertions, 1 deletions
diff --git a/scripts/Makefile.modfinal b/scripts/Makefile.modfinal
index 85d5fadbcc93..542ba462ed3e 100644
--- a/scripts/Makefile.modfinal
+++ b/scripts/Makefile.modfinal
@@ -20,7 +20,6 @@ __modfinal: $(modules:%.o=%.ko)
modname = $(notdir $(@:.mod.o=))
part-of-module = y
GCOV_PROFILE := n
-KCSAN_SANITIZE := n
ccflags-remove-y := $(CC_FLAGS_CFI)
%.mod.o: %.mod.c FORCE