[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201911091215.HPMYYO1z%lkp@intel.com>
Date: Sat, 9 Nov 2019 13:02:49 +0800
From: kbuild test robot <lkp@...el.com>
To: Dan Williams <dan.j.williams@...el.com>
Cc: kbuild-all@...ts.01.org, linux-nvdimm@...ts.01.org,
Dave Hansen <dave.hansen@...ux.intel.com>,
Andy Lutomirski <luto@...nel.org>,
Peter Zijlstra <peterz@...radead.org>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>,
Andrew Morton <akpm@...ux-foundation.org>,
David Hildenbrand <david@...hat.com>,
Michal Hocko <mhocko@...e.com>,
Ira Weiny <ira.weiny@...el.com>,
Vishal Verma <vishal.l.verma@...el.com>,
linux-kernel@...r.kernel.org, linux-mm@...ck.org
Subject: Re: [PATCH 16/16] libnvdimm/e820: Retrieve and populate correct
'target_node' info
Hi Dan,
I love your patch! Yet something to improve:
[auto build test ERROR on powerpc/next]
[cannot apply to v5.4-rc6 next-20191108]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]
url: https://github.com/0day-ci/linux/commits/Dan-Williams/Memory-Hierarchy-Enable-target-node-lookups-for-reserved-memory/20191109-080607
base: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next
config: x86_64-randconfig-d002-201944 (attached as .config)
compiler: gcc-7 (Debian 7.4.0-14) 7.4.0
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
ld: drivers/nvdimm/e820.o: in function `e820_register_one':
>> drivers/nvdimm/e820.c:27: undefined reference to `numa_map_to_online_node'
vim +27 drivers/nvdimm/e820.c
18
19 static int e820_register_one(struct resource *res, void *data)
20 {
21 struct nd_region_desc ndr_desc;
22 struct nvdimm_bus *nvdimm_bus = data;
23 int nid = memory_add_physaddr_to_target_node(res->start);
24
25 memset(&ndr_desc, 0, sizeof(ndr_desc));
26 ndr_desc.res = res;
> 27 ndr_desc.numa_node = numa_map_to_online_node(nid);
28 ndr_desc.target_node = nid;
29 set_bit(ND_REGION_PAGEMAP, &ndr_desc.flags);
30 if (!nvdimm_pmem_region_create(nvdimm_bus, &ndr_desc))
31 return -ENXIO;
32 return 0;
33 }
34
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Intel Corporation
Download attachment ".config.gz" of type "application/gzip" (35944 bytes)
Powered by blists - more mailing lists