[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20241113234526.402738-4-masahiroy@kernel.org>
Date: Thu, 14 Nov 2024 08:45:23 +0900
From: Masahiro Yamada <masahiroy@...nel.org>
To: linux-kbuild@...r.kernel.org
Cc: Paul Menzel <pmenzel@...gen.mpg.de>,
Borislav Petkov <bp@...en8.de>,
Nikolay Borisov <nik.borisov@...e.com>,
Marco Elver <elver@...gle.com>,
Josh Poimboeuf <jpoimboe@...nel.org>,
Masahiro Yamada <masahiroy@...nel.org>,
Nathan Chancellor <nathan@...nel.org>,
Nicolas Schier <nicolas@...sle.eu>,
linux-kernel@...r.kernel.org
Subject: [PATCH 3/3] 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@...nel.org>
---
scripts/Makefile.modfinal | 1 -
1 file changed, 1 deletion(-)
diff --git a/scripts/Makefile.modfinal b/scripts/Makefile.modfinal
index 0547a4b59f13..3e56a3f733e9 100644
--- a/scripts/Makefile.modfinal
+++ b/scripts/Makefile.modfinal
@@ -22,7 +22,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
--
2.43.0
Powered by blists - more mailing lists