Re: [PATCH V5 2/2] powerpc/numa: Update CPU topology when VPHN enabled

From: kbuild test robot
Date: Sun Jun 18 2017 - 22:47:30 EST

Hi Michael,

[auto build test ERROR on powerpc/next]
[also build test ERROR on v4.12-rc5 next-20170616]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

base: next
config: powerpc-ksi8560_defconfig (attached as .config)
compiler: powerpc-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
wget -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=powerpc

All errors (new ones prefixed by >>):

In file included from include/linux/topology.h:35:0,
from include/linux/gfp.h:8,
from include/linux/idr.h:16,
from include/linux/kernfs.h:14,
from include/linux/sysfs.h:15,
from include/linux/kobject.h:21,
from include/linux/of.h:21,
from include/linux/irqdomain.h:34,
from arch/powerpc/include/asm/irq.h:12,
from arch/powerpc/include/asm/prom.h:19,
from arch/powerpc/kernel/cputable.c:22:
>> arch/powerpc/include/asm/topology.h:76:12: error: 'timed_topology_update' defined but not used [-Werror=unused-function]
static int timed_topology_update(int nsecs)
cc1: all warnings being treated as errors

vim +/timed_topology_update +76 arch/powerpc/include/asm/topology.h

70 return 0;
71 }
72 static inline int stop_topology_update(void)
73 {
74 return 0;
75 }
> 76 static int timed_topology_update(int nsecs)
77 {
78 return 0;
79 }

0-DAY kernel test infrastructure Open Source Technology Center Intel Corporation

Attachment: .config.gz
Description: application/gzip