summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2024-12-17 08:18:10 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-01-09 13:33:49 +0100
commit0e1779478f0cf4d3fe6a6f3e28c06e15433fe1e1 (patch)
treea064d6edc46ba58f2007d0eb598c512a7db5fb25 /lib
parentba950a02d8d23811aa1120affd3adedcfac6153d (diff)
downloadlinux-0e1779478f0cf4d3fe6a6f3e28c06e15433fe1e1.tar.gz
linux-0e1779478f0cf4d3fe6a6f3e28c06e15433fe1e1.tar.bz2
linux-0e1779478f0cf4d3fe6a6f3e28c06e15433fe1e1.zip
kcov: mark in_softirq_really() as __always_inline
commit cb0ca08b326aa03f87fe94bb91872ce8d2ef1ed8 upstream. If gcc decides not to inline in_softirq_really(), objtool warns about a function call with UACCESS enabled: kernel/kcov.o: warning: objtool: __sanitizer_cov_trace_pc+0x1e: call to in_softirq_really() with UACCESS enabled kernel/kcov.o: warning: objtool: check_kcov_mode+0x11: call to in_softirq_really() with UACCESS enabled Mark this as __always_inline to avoid the problem. Link: https://lkml.kernel.org/r/20241217071814.2261620-1-arnd@kernel.org Fixes: 7d4df2dad312 ("kcov: properly check for softirq context") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Marco Elver <elver@google.com> Cc: Aleksandr Nogikh <nogikh@google.com> Cc: Andrey Konovalov <andreyknvl@gmail.com> Cc: Dmitry Vyukov <dvyukov@google.com> Cc: Josh Poimboeuf <jpoimboe@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: <stable@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions