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 for more information]

config: x86_64-lkp (attached as .config)
compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705
# 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)
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;
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 Intel Corporation

Attachment: .config.gz
Description: Binary data