From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [riscv:for-next 18/38] arch/riscv/mm/physaddr.c:26:46: error: 'kernel_virt_addr' undeclared; did you mean 'kernel_read'?
Date: Sat, 24 Apr 2021 02:12:02 +0800 [thread overview]
Message-ID: <202104240255.PFSDgDbP-lkp@intel.com> (raw)
[-- 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 --]
reply other threads:[~2021-04-23 18:12 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=202104240255.PFSDgDbP-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/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.