[linux-next:master 12660/12727] error: no rules expected `ARCH_WARN_ASM`

kernel test robot <[email protected]> Wed, 05 Aug 2026 12:49:48 +0800
Newsgroups dev.linux.lists.oe-kbuild-all
Message-ID <[email protected]>
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   0f6da28aab51b16762ed82e8fdeaa5042da45b08
commit: f97dcaf7868dbda5ccff6db2e582b1632e823424 [12660/12727] Merge branch 'next' of https://git.kernel.org/pub/scm/linux/kernel/git/rcu/linux
config: powerpc-randconfig-r062-20260805 (https://download.01.org/0day-ci/archive/20260805/[email protected]/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project bacfe2950f8218268fcc0a8765644ea0c15f0360)
rustc: rustc 1.96.0 (ac68faa20 2026-05-25)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260805/[email protected]/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All errors (new ones prefixed by >>):

   clang diag: arch/powerpc/include/uapi/asm/ioctl.h:5:9: warning: '_IOC_SIZEBITS' macro redefined [-Wmacro-redefined]
   clang diag: arch/powerpc/include/uapi/asm/ioctl.h:6:9: warning: '_IOC_DIRBITS' macro redefined [-Wmacro-redefined]
   clang diag: arch/powerpc/include/uapi/asm/ioctl.h:8:9: warning: '_IOC_NONE' macro redefined [-Wmacro-redefined]
   clang diag: arch/powerpc/include/uapi/asm/ioctl.h:10:9: warning: '_IOC_WRITE' macro redefined [-Wmacro-redefined]
>> error: no rules expected `ARCH_WARN_ASM`
   --> rust/kernel/generated_arch_warn_asm.rs:1:28
   |
   1 | ::kernel::concat_literals!(ARCH_WARN_ASM("{file}", "{line}", "{flags}", "{size}"))
   |                            ^^^^^^^^^^^^^ no rules expected this token in macro call
   |
   ::: rust/kernel/lib.rs:275:1
   |
   275 | macro_rules! concat_literals {
   | ---------------------------- when calling this macro
   |
   = note: while trying to match sequence start
--
>> error: no rules expected `ARCH_WARN_REACHABLE`
   --> rust/kernel/generated_arch_reachable_asm.rs:1:28
   |
   1 | ::kernel::concat_literals!(ARCH_WARN_REACHABLE)
   |                            ^^^^^^^^^^^^^^^^^^^ no rules expected this token in macro call
   |
   ::: rust/kernel/lib.rs:275:1
   |
   275 | macro_rules! concat_literals {
   | ---------------------------- when calling this macro
   |
   = note: while trying to match sequence start

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki