Re: [PATCH V4] mm: Add sysfs interface to dump each node's zonelist information

From: kbuild test robot
Date: Thu Sep 08 2016 - 03:45:22 EST


Hi Anshuman,

[auto build test ERROR on driver-core/driver-core-testing]
[also build test ERROR on v4.8-rc5]
[cannot apply to next-20160908]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
[Suggest to use git(>=2.9.0) format-patch --base=<commit> (or --base=auto for convenience) to record what (public, well-known) commit your patch series was built on]
[Check https://git-scm.com/docs/git-format-patch for more information]

url: https://github.com/0day-ci/linux/commits/Anshuman-Khandual/mm-Add-sysfs-interface-to-dump-each-node-s-zonelist-information/20160908-104922
config: x86_64-lkp (attached as .config)
compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64

All errors (new ones prefixed by >>):

drivers/base/memory.c: In function 'dump_zonelist':
>> drivers/base/memory.c:455:4: error: 'zone_names' undeclared (first use in this function)
zone_names[zonelist->_zonerefs[i].zone_idx],
^~~~~~~~~~
drivers/base/memory.c:455:4: note: each undeclared identifier is reported only once for each function it appears in

vim +/zone_names +455 drivers/base/memory.c

449 ssize_t count = 0;
450
451 for (i = 0; zonelist->_zonerefs[i].zone; i++) {
452 count += sprintf(buf + count,
453 "\t\t(%d) (node %d) (%-7s 0x%pK)\n", i,
454 zonelist->_zonerefs[i].zone->zone_pgdat->node_id,
> 455 zone_names[zonelist->_zonerefs[i].zone_idx],
456 (void *) zonelist->_zonerefs[i].zone);
457 }
458 return count;

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

Attachment: .config.gz
Description: Binary data