* [linux-next:master 14875/15421] arch/riscv/mm/physaddr.c:26:46: error: 'kernel_virt_addr' undeclared; did you mean 'kernel_read'?
@ 2021-04-30 0:10 ` kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-04-30 0:10 UTC (permalink / raw)
To: Alexandre Ghiti; +Cc: kbuild-all, Linux Memory Management List, Palmer Dabbelt
[-- Attachment #1: Type: text/plain, Size: 2089 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 9e5cff2a1315fec1da1f497714395670366506b6
commit: 2bfc6cd81bd17e4306e24ee47b9554c967bcb499 [14875/15421] riscv: Move kernel mapping outside of linear mapping
config: riscv-randconfig-s032-20210429 (attached as .config)
compiler: riscv32-linux-gcc (GCC) 9.3.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.3-341-g8af24329-dirty
# https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=2bfc6cd81bd17e4306e24ee47b9554c967bcb499
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout 2bfc6cd81bd17e4306e24ee47b9554c967bcb499
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' 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
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@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 27695 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* [linux-next:master 14875/15421] arch/riscv/mm/physaddr.c:26:46: error: 'kernel_virt_addr' undeclared; did you mean 'kernel_read'?
@ 2021-04-30 0:10 ` kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-04-30 0:10 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2131 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 9e5cff2a1315fec1da1f497714395670366506b6
commit: 2bfc6cd81bd17e4306e24ee47b9554c967bcb499 [14875/15421] riscv: Move kernel mapping outside of linear mapping
config: riscv-randconfig-s032-20210429 (attached as .config)
compiler: riscv32-linux-gcc (GCC) 9.3.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.3-341-g8af24329-dirty
# https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=2bfc6cd81bd17e4306e24ee47b9554c967bcb499
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout 2bfc6cd81bd17e4306e24ee47b9554c967bcb499
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' 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
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: 27695 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-04-30 0:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-30 0:10 [linux-next:master 14875/15421] arch/riscv/mm/physaddr.c:26:46: error: 'kernel_virt_addr' undeclared; did you mean 'kernel_read'? kernel test robot
2021-04-30 0:10 ` 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.