* [thomas-weissschuh:b4/riscv-cfi-vdso-alternative 4/4] arch/riscv/kernel/alternative.c:210:27: error: use of undeclared identifier 'vdso_cfi_start'
@ 2026-04-30 6:10 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-04-30 6:10 UTC (permalink / raw)
To: Thomas Weißschuh ; +Cc: llvm, oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/thomas.weissschuh/linux.git b4/riscv-cfi-vdso-alternative
head: fa83dca7c15f5aefda0432bda4aa4a802766ca70
commit: fa83dca7c15f5aefda0432bda4aa4a802766ca70 [4/4] riscv: alternative: Also patch the CFI vDSO
config: riscv-randconfig-001-20260430 (https://download.01.org/0day-ci/archive/20260430/202604301435.3ApdMPjV-lkp@intel.com/config)
compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project 5bac06718f502014fade905512f1d26d578a18f3)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260430/202604301435.3ApdMPjV-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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202604301435.3ApdMPjV-lkp@intel.com/
All errors (new ones prefixed by >>):
arch/riscv/kernel/alternative.c:207:27: error: use of undeclared identifier 'vdso_start'; did you mean 'vfs_stat'?
207 | apply_vdso_alternatives(vdso_start);
| ^~~~~~~~~~
| vfs_stat
include/linux/fs.h:3206:19: note: 'vfs_stat' declared here
3206 | static inline int vfs_stat(const char __user *filename, struct kstat *stat)
| ^
>> arch/riscv/kernel/alternative.c:210:27: error: use of undeclared identifier 'vdso_cfi_start'
210 | apply_vdso_alternatives(vdso_cfi_start);
| ^~~~~~~~~~~~~~
2 errors generated.
vim +/vdso_cfi_start +210 arch/riscv/kernel/alternative.c
196
197 void __init apply_boot_alternatives(void)
198 {
199 /* If called on non-boot cpu things could go wrong */
200 WARN_ON(smp_processor_id() != 0);
201
202 _apply_alternatives((struct alt_entry *)__alt_start,
203 (struct alt_entry *)__alt_end,
204 RISCV_ALTERNATIVES_BOOT);
205
206 if (IS_ENABLED(CONFIG_MMU))
207 apply_vdso_alternatives(vdso_start);
208
209 if (IS_ENABLED(CONFIG_RISCV_USER_CFI))
> 210 apply_vdso_alternatives(vdso_cfi_start);
211 }
212
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-04-30 6:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-30 6:10 [thomas-weissschuh:b4/riscv-cfi-vdso-alternative 4/4] arch/riscv/kernel/alternative.c:210:27: error: use of undeclared identifier 'vdso_cfi_start' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox