* [mark:arm64/cpucap/cleanup 33/38] arch/arm64/kernel/cpufeature.c:2225:17: error: 'compat_elf_hwcap2' undeclared; did you mean 'cpu_get_elf_hwcap2'?
@ 2023-10-13 5:23 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-10-13 5:23 UTC (permalink / raw)
To: Mark Rutland; +Cc: oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git arm64/cpucap/cleanup
head: 0bb334d1f3369b18fef3144b7e19099ca6146db4
commit: 709133831bea313d27c1399611379c517bb551fe [33/38] arm64: Avoid cpus_have_const_cap() for ARM64_WORKAROUND_1742098
config: arm64-randconfig-001-20231013 (https://download.01.org/0day-ci/archive/20231013/202310131335.OaIn64FN-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231013/202310131335.OaIn64FN-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/202310131335.OaIn64FN-lkp@intel.com/
All errors (new ones prefixed by >>):
arch/arm64/kernel/cpufeature.c: In function 'elf_hwcap_fixup':
>> arch/arm64/kernel/cpufeature.c:2225:17: error: 'compat_elf_hwcap2' undeclared (first use in this function); did you mean 'cpu_get_elf_hwcap2'?
2225 | compat_elf_hwcap2 &= ~COMPAT_HWCAP2_AES;
| ^~~~~~~~~~~~~~~~~
| cpu_get_elf_hwcap2
arch/arm64/kernel/cpufeature.c:2225:17: note: each undeclared identifier is reported only once for each function it appears in
vim +2225 arch/arm64/kernel/cpufeature.c
c444d19868d6a9 Mark Rutland 2023-09-13 2221
44b3834b2eed59 James Morse 2022-07-14 2222 static void elf_hwcap_fixup(void)
44b3834b2eed59 James Morse 2022-07-14 2223 {
709133831bea31 Mark Rutland 2023-09-08 2224 if (cpus_have_cap(ARM64_WORKAROUND_1742098))
44b3834b2eed59 James Morse 2022-07-14 @2225 compat_elf_hwcap2 &= ~COMPAT_HWCAP2_AES;
44b3834b2eed59 James Morse 2022-07-14 2226 }
44b3834b2eed59 James Morse 2022-07-14 2227
:::::: The code at line 2225 was first introduced by commit
:::::: 44b3834b2eed595af07021b1c64e6f9bc396398b arm64: errata: Remove AES hwcap for COMPAT tasks
:::::: TO: James Morse <james.morse@arm.com>
:::::: CC: Will Deacon <will@kernel.org>
--
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:[~2023-10-13 5:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-13 5:23 [mark:arm64/cpucap/cleanup 33/38] arch/arm64/kernel/cpufeature.c:2225:17: error: 'compat_elf_hwcap2' undeclared; did you mean 'cpu_get_elf_hwcap2'? kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.