[REGRESSION] stable-rc/linux-6.12.y: (build) mm/slab.h:572:24: error: duplicate 'inline' declaration specifier ...

KernelCI bot <[email protected]>
Newsgroups org.kernel.vger.stable
Message-ID <[email protected]>
New build issue found on stable-rc/linux-6.12.y:

---
 mm/slab.h:572:24: error: duplicate 'inline' declaration specifier [-Werror,-Wduplicate-decl-specifier] in mm/mempool.o (mm/mempool.c) [logspec:kbuild,kbuild.compiler.error]
---

Log excerpt:
=====================================================
In file included from mm/mempool.c:21:
mm/slab.h:572:24: error: duplicate 'inline' declaration specifier [-Werror,-Wduplicate-decl-specifier]
  572 | static __always_inline inline bool need_kmalloc_no_objext(void)
      |                        ^
././include/linux/compiler_types.h:249:16: note: expanded from macro 'inline'
  249 | #define inline inline __gnu_inline __inline_maybe_unused notrace
      |                ^
1 error generated.

=====================================================

When fixing this issue, please attribute this report according to the
patch submission rules:

Reported-by: kernelci.org bot <[email protected]>

For complete logs and details about the environment used, see the issue
on the KernelCI dashboard:

- dashboard: https://d.kernelci.org/i/maestro:7c5e63727edb7ab8fe66c182c096b19973dc4c24
- giturl: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
- commit HEAD:  993a046a044df0f29fc81dc45039a2a90dd4ae67

# Builds where the incident occurred:

## i386_defconfig+allmodconfig+CONFIG_FRAME_WARN=2048 on (i386):
- compiler: clang-21
- config: https://files.kernelci.org/kbuild-clang-21-i386-allmodconfig-6a75eadc62f33761c0901384/.config
- dashboard: https://d.kernelci.org/build/maestro:6a75eadc62f33761c0901384

#kernelci issue maestro:7c5e63727edb7ab8fe66c182c096b19973dc4c24

--
This is an experimental report format. Please send feedback in!
Talk to us at [email protected]

Made with love by the KernelCI team - https://kernelci.org
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.