[lkml]   [2019]   [Nov]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [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]

base: next
config: x86_64-randconfig-d002-201944 (attached as .config)
compiler: gcc-7 (Debian 7.4.0-14) 7.4.0
# 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 <>

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

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);
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 }

0-DAY kernel test infrastructure Open Source Technology Center Intel Corporation
[unhandled content-type:application/gzip]
 \ /
  Last update: 2019-11-09 06:03    [W:0.134 / U:6.444 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site