Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

-1
-1
scripts/Makefile.modfinal
··· 20 20 modname = $(notdir $(@:.mod.o=)) 21 21 part-of-module = y 22 22 GCOV_PROFILE := n 23 - KCSAN_SANITIZE := n 24 23 ccflags-remove-y := $(CC_FLAGS_CFI) 25 24 26 25 %.mod.o: %.mod.c FORCE