Re: [PATCH v2] include/linux/nodemask.h: Use nr_node_ids (not MAX_NUMNODES) in __nodemask_pr_numnodes()

From: kbuild test robot
Date: Wed Dec 19 2018 - 00:49:22 EST


Hi Waiman,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on linus/master]
[also build test ERROR on v4.20-rc7 next-20181218]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url: https://github.com/0day-ci/linux/commits/Waiman-Long/include-linux-nodemask-h-Use-nr_node_ids-not-MAX_NUMNODES-in-__nodemask_pr_numnodes/20181219-110121
config: arm-omap2plus_defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 7.2.0-11) 7.2.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
GCC_VERSION=7.2.0 make.cross ARCH=arm

All errors (new ones prefixed by >>):

kernel/cgroup/cpuset.o: In function `cpuset_common_seq_show':
>> cpuset.c:(.text+0xe2c): undefined reference to `nr_node_ids'
kernel/cgroup/cpuset.o: In function `cpuset_print_current_mems_allowed':
cpuset.c:(.text+0x4624): undefined reference to `nr_node_ids'
kernel/cgroup/cpuset.o: In function `cpuset_task_status_allowed':
cpuset.c:(.text+0x4d5c): undefined reference to `nr_node_ids'
mm/oom_kill.o: In function `dump_header':
oom_kill.c:(.text.unlikely+0x3c4): undefined reference to `nr_node_ids'
mm/page_alloc.o: In function `warn_alloc':
page_alloc.c:(.text+0x4ae0): undefined reference to `nr_node_ids'

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: application/gzip