From: kernel test robot <lkp@intel.com>
To: Kefeng Wang <wangkefeng.wang@huawei.com>
Cc: kbuild-all@lists.01.org, wangkefeng.wang@huawei.com,
weiyongjun1@huawei.com, linux-kernel@vger.kernel.org
Subject: [kevin78:percpu-cleanup 2/4] arch/sparc/kernel/smp_64.c:1644:45: error: 'cpu_to_node' undeclared; did you mean 'dev_to_node'?
Date: Mon, 13 Dec 2021 21:23:16 +0800 [thread overview]
Message-ID: <202112132105.zCgSs9Zg-lkp@intel.com> (raw)
tree: https://github.com/kevin78/linux.git percpu-cleanup
head: ec8bef0e65982bb71c931efddde0fca6418e02ba
commit: 802124ef348edb29320cfba0dc15edb1c1f7f0c1 [2/4] mm: percpu: Add pcpu_fc_cpu_to_node_fn_t typedef
config: sparc64-randconfig-p001-20211212 (https://download.01.org/0day-ci/archive/20211213/202112132105.zCgSs9Zg-lkp@intel.com/config)
compiler: sparc64-linux-gcc (GCC) 11.2.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://github.com/kevin78/linux/commit/802124ef348edb29320cfba0dc15edb1c1f7f0c1
git remote add kevin78 https://github.com/kevin78/linux.git
git fetch --no-tags kevin78 percpu-cleanup
git checkout 802124ef348edb29320cfba0dc15edb1c1f7f0c1
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=sparc64 SHELL=/bin/bash
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/sparc/kernel/smp_64.c: In function 'setup_per_cpu_areas':
>> arch/sparc/kernel/smp_64.c:1644:45: error: 'cpu_to_node' undeclared (first use in this function); did you mean 'dev_to_node'?
1644 | cpu_to_node,
| ^~~~~~~~~~~
| dev_to_node
arch/sparc/kernel/smp_64.c:1644:45: note: each undeclared identifier is reported only once for each function it appears in
vim +1644 arch/sparc/kernel/smp_64.c
1633
1634 void __init setup_per_cpu_areas(void)
1635 {
1636 unsigned long delta;
1637 unsigned int cpu;
1638 int rc = -EINVAL;
1639
1640 if (pcpu_chosen_fc != PCPU_FC_PAGE) {
1641 rc = pcpu_embed_first_chunk(PERCPU_MODULE_RESERVE,
1642 PERCPU_DYNAMIC_RESERVE, 4 << 20,
1643 pcpu_cpu_distance,
> 1644 cpu_to_node,
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
reply other threads:[~2021-12-13 13:23 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=202112132105.zCgSs9Zg-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=wangkefeng.wang@huawei.com \
--cc=weiyongjun1@huawei.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®