diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2024-11-14 08:45:23 +0900 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2024-11-28 08:11:55 +0900 |
commit | 1b466b29a3bf02ed95f28682a975f41ae47bce7d (patch) | |
tree | ccd8213c359dd2cce89ff66c90b11536c85135f6 /scripts | |
parent | bede169618c68379e1be7ace14e8ac85b964a9ec (diff) |
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.modfinal | 1 |
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 |