Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit 1b466b2

Browse files
committed
kbuild: re-enable KCSAN for autogenerated *.mod.c intermediaries
This reverts commit 54babdc ("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>
1 parent bede169 commit 1b466b2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

scripts/Makefile.modfinal

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ __modfinal: $(modules:%.o=%.ko)
2020
modname = $(notdir $(@:.mod.o=))
2121
part-of-module = y
2222
GCOV_PROFILE := n
23-
KCSAN_SANITIZE := n
2423
ccflags-remove-y := $(CC_FLAGS_CFI)
2524

2625
%.mod.o: %.mod.c FORCE

0 commit comments

Comments
 (0)