Re: [PATCH v2] s390/irqflags: Add out-of-line definitions of arch_local_irq_*() for KMSAN

Heiko Carstens <[email protected]>
Newsgroups org.kernel.vger.linux-kernel,org.kernel.vger.linux-s390
Message-ID <[email protected]>
On Thu, Aug 06, 2026 at 09:04:45PM +0200, Ilya Leoshkevich wrote:
> Inline KMSAN arch_local_irq_*() definitions run afoul of
> -Wstatic-in-inline. Move them out-of-line. Make sure decompressor and
> non-GPL modules see the out-of-line definitions.
> 
> Cc: Boqun Feng <[email protected]>
> Reported-by: kernel test robot <[email protected]>
> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
> Suggested-by: Heiko Carstens <[email protected]>
> Fixes: 1b301f5f28ba ("s390/irqflags: do not instrument arch_local_irq_*() with KMSAN")
> Signed-off-by: Ilya Leoshkevich <[email protected]>
> ---
> 
> v1: https://lore.kernel.org/lkml/[email protected]/
> v1 -> v2: Fix style issues (Heiko).
> 
>  arch/s390/include/asm/irqflags.h | 20 +++++++++++++-------
>  arch/s390/kernel/Makefile        |  1 +
>  arch/s390/kernel/irqflags.c      | 28 ++++++++++++++++++++++++++++
>  3 files changed, 42 insertions(+), 7 deletions(-)
>  create mode 100644 arch/s390/kernel/irqflags.c

Applied, thanks!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.