From: kernel test robot <lkp@intel.com>
To: Mark Rutland <mark.rutland@arm.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [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'?
Date: Fri, 13 Oct 2023 13:23:04 +0800 [thread overview]
Message-ID: <202310131335.OaIn64FN-lkp@intel.com> (raw)
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
reply other threads:[~2023-10-13 5:24 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202310131335.OaIn64FN-lkp@intel.com \
--to=lkp@intel.com \
--cc=mark.rutland@arm.com \
--cc=oe-kbuild-all@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.