[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202512170038.vJZdUhEN-lkp@intel.com>
Date: Wed, 17 Dec 2025 00:31:27 +0800
From: kernel test robot <lkp@...el.com>
To: Ryan Roberts <ryan.roberts@....com>,
Catalin Marinas <catalin.marinas@....com>,
Will Deacon <will@...nel.org>, Huacai Chen <chenhuacai@...nel.org>,
Madhavan Srinivasan <maddy@...ux.ibm.com>,
Michael Ellerman <mpe@...erman.id.au>,
Paul Walmsley <pjw@...nel.org>, Palmer Dabbelt <palmer@...belt.com>,
Albert Ou <aou@...s.berkeley.edu>,
Heiko Carstens <hca@...ux.ibm.com>,
Vasily Gorbik <gor@...ux.ibm.com>,
Alexander Gordeev <agordeev@...ux.ibm.com>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>, Borislav Petkov <bp@...en8.de>,
Dave Hansen <dave.hansen@...ux.intel.com>,
Kees Cook <kees@...nel.org>,
"Gustavo A. R. Silva" <gustavoars@...nel.org>,
Arnd Bergmann <arnd@...db.de>, Mark Rutland <mark.rutland@....com>,
"Jason A. Donenfeld" <Jason@...c4.com>,
Ard Biesheuvel <ardb@...nel.org>,
Jeremy Linton <jeremy.linton@....com>
Cc: oe-kbuild-all@...ts.linux.dev, Ryan Roberts <ryan.roberts@....com>,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
loongarch@...ts.linux.dev, linuxppc-dev@...ts.ozlabs.org,
linux-riscv@...ts.infradead.org, linux-s390@...r.kernel.org,
linux-hardening@...r.kernel.org
Subject: Re: [PATCH v2 3/3] randomize_kstack: Unify random source across
arches
Hi Ryan,
kernel test robot noticed the following build errors:
[auto build test ERROR on tip/sched/core]
[also build test ERROR on akpm-mm/mm-everything linus/master v6.19-rc1 next-20251216]
[cannot apply to kees/for-next/hardening kees/for-next/execve]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Ryan-Roberts/prandom-Convert-prandom_u32_state-to-__always_inline/20251216-013546
base: tip/sched/core
patch link: https://lore.kernel.org/r/20251215163520.1144179-4-ryan.roberts%40arm.com
patch subject: [PATCH v2 3/3] randomize_kstack: Unify random source across arches
config: x86_64-rhel-9.4-ltp (https://download.01.org/0day-ci/archive/20251217/202512170038.vJZdUhEN-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251217/202512170038.vJZdUhEN-lkp@intel.com/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 <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202512170038.vJZdUhEN-lkp@intel.com/
All error/warnings (new ones prefixed by >>):
>> arch/x86/boot/startup/sev-startup.o: warning: objtool: section .discard.addressable has absolute relocation at offset 0x0
--
In file included from include/linux/device/driver.h:21,
from include/linux/device.h:32,
from include/linux/blk_types.h:11,
from include/linux/writeback.h:13,
from include/linux/memcontrol.h:23,
from include/linux/resume_user_mode.h:8,
from include/linux/entry-virt.h:6,
from include/linux/kvm_host.h:5,
from arch/x86/kvm/svm/svm.c:3:
>> include/linux/module.h:132:49: error: redefinition of '__inittest'
132 | static inline initcall_t __maybe_unused __inittest(void) \
| ^~~~~~~~~~
arch/x86/kvm/svm/svm.c:5509:1: note: in expansion of macro 'module_init'
5509 | module_init(svm_init)
| ^~~~~~~~~~~
include/linux/module.h:132:49: note: previous definition of '__inittest' with type 'int (*(void))(void)'
132 | static inline initcall_t __maybe_unused __inittest(void) \
| ^~~~~~~~~~
include/linux/module.h:125:41: note: in expansion of macro 'module_init'
125 | #define late_initcall(fn) module_init(fn)
| ^~~~~~~~~~~
include/linux/randomize_kstack.h:86:1: note: in expansion of macro 'late_initcall'
86 | late_initcall(random_kstack_init);
| ^~~~~~~~~~~~~
>> include/linux/module.h:134:13: error: redefinition of 'init_module'
134 | int init_module(void) __copy(initfn) \
| ^~~~~~~~~~~
arch/x86/kvm/svm/svm.c:5509:1: note: in expansion of macro 'module_init'
5509 | module_init(svm_init)
| ^~~~~~~~~~~
include/linux/module.h:134:13: note: previous definition of 'init_module' with type 'int(void)'
134 | int init_module(void) __copy(initfn) \
| ^~~~~~~~~~~
include/linux/module.h:125:41: note: in expansion of macro 'module_init'
125 | #define late_initcall(fn) module_init(fn)
| ^~~~~~~~~~~
include/linux/randomize_kstack.h:86:1: note: in expansion of macro 'late_initcall'
86 | late_initcall(random_kstack_init);
| ^~~~~~~~~~~~~
--
ld: arch/x86/kvm/vmx/main.o: in function `vt_init':
>> arch/x86/kvm/vmx/main.c:1038: multiple definition of `init_module'; arch/x86/kvm/vmx/vmx.o:include/linux/randomize_kstack.h:81: first defined here
--
In file included from drivers/misc/sgi-xp/xpc_main.c:47:
>> include/linux/module.h:132:49: error: redefinition of '__inittest'
132 | static inline initcall_t __maybe_unused __inittest(void) \
| ^~~~~~~~~~
drivers/misc/sgi-xp/xpc_main.c:1285:1: note: in expansion of macro 'module_init'
1285 | module_init(xpc_init);
| ^~~~~~~~~~~
include/linux/module.h:132:49: note: previous definition of '__inittest' with type 'int (*(void))(void)'
132 | static inline initcall_t __maybe_unused __inittest(void) \
| ^~~~~~~~~~
include/linux/module.h:125:41: note: in expansion of macro 'module_init'
125 | #define late_initcall(fn) module_init(fn)
| ^~~~~~~~~~~
include/linux/randomize_kstack.h:86:1: note: in expansion of macro 'late_initcall'
86 | late_initcall(random_kstack_init);
| ^~~~~~~~~~~~~
>> include/linux/module.h:134:13: error: redefinition of 'init_module'
134 | int init_module(void) __copy(initfn) \
| ^~~~~~~~~~~
drivers/misc/sgi-xp/xpc_main.c:1285:1: note: in expansion of macro 'module_init'
1285 | module_init(xpc_init);
| ^~~~~~~~~~~
include/linux/module.h:134:13: note: previous definition of 'init_module' with type 'int(void)'
134 | int init_module(void) __copy(initfn) \
| ^~~~~~~~~~~
include/linux/module.h:125:41: note: in expansion of macro 'module_init'
125 | #define late_initcall(fn) module_init(fn)
| ^~~~~~~~~~~
include/linux/randomize_kstack.h:86:1: note: in expansion of macro 'late_initcall'
86 | late_initcall(random_kstack_init);
| ^~~~~~~~~~~~~
vim +1038 arch/x86/kvm/vmx/main.c
d6bee7813752b3 Kai Huang 2025-01-22 1036
d6bee7813752b3 Kai Huang 2025-01-22 1037 static int __init vt_init(void)
d6bee7813752b3 Kai Huang 2025-01-22 @1038 {
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists