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

kbuild test robot lkp at intel.com
Sun Jul 2 12:14:31 AEST 2017

Hi Michael,

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

url:    https://github.com/0day-ci/linux/commits/Michael-Bringmann/powerpc-hotplug-Ensure-enough-nodes-avail-for-operations/20170627-132618
base:   https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next
config: powerpc-g5_defconfig (attached as .config)
compiler: powerpc64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
        wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -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:85: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 +85 arch/powerpc/include/asm/topology.h

    79	#endif /* CONFIG_NUMA && CONFIG_PPC_SPLPAR */
    81	#if defined(CONFIG_HOTPLUG_CPU)
    82	#if defined(CONFIG_NUMA) && defined(CONFIG_PPC_SPLPAR)
    83	extern int timed_topology_update(int nsecs);
    84	#else
  > 85	static int timed_topology_update(int nsecs)
    86	{
    87		return 0;
    88	}

0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 20322 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20170702/b16251ca/attachment-0001.gz>

More information about the Linuxppc-dev mailing list