* [riscv:for-next 18/38] arch/riscv/mm/physaddr.c:26:46: error: 'kernel_virt_addr' undeclared; did you mean 'kernel_read'?
@ 2021-04-23 18:12 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-04-23 18:12 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2174 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next
head: 2fd9503070f7e52cc8397845beb27ece2bcfe410
commit: 4953f54cd37685c21e63bcf8a7f3d244ae1d6c82 [18/38] riscv: Move kernel mapping outside of linear mapping
config: riscv-randconfig-r001-20210423 (attached as .config)
compiler: riscv32-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git/commit/?id=4953f54cd37685c21e63bcf8a7f3d244ae1d6c82
git remote add riscv https://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git
git fetch --no-tags riscv for-next
git checkout 4953f54cd37685c21e63bcf8a7f3d244ae1d6c82
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross W=1 ARCH=riscv
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
arch/riscv/mm/physaddr.c: In function '__phys_addr_symbol':
>> arch/riscv/mm/physaddr.c:26:46: error: 'kernel_virt_addr' undeclared (first use in this function); did you mean 'kernel_read'?
26 | unsigned long kernel_start = (unsigned long)kernel_virt_addr;
| ^~~~~~~~~~~~~~~~
| kernel_read
arch/riscv/mm/physaddr.c:26:46: note: each undeclared identifier is reported only once for each function it appears in
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for ERRATA_SIFIVE
Depends on RISCV_ERRATA_ALTERNATIVE
Selected by
- SOC_SIFIVE
vim +26 arch/riscv/mm/physaddr.c
23
24 phys_addr_t __phys_addr_symbol(unsigned long x)
25 {
> 26 unsigned long kernel_start = (unsigned long)kernel_virt_addr;
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 35336 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-04-23 18:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-23 18:12 [riscv:for-next 18/38] arch/riscv/mm/physaddr.c:26:46: error: 'kernel_virt_addr' undeclared; did you mean 'kernel_read'? 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.