[PATCH 3/3] powerpc/64s: cpufeatures: add initial implementation for cpufeatures

kbuild test robot lkp at intel.com
Thu Apr 6 18:59:49 AEST 2017


Hi Nicholas,

[auto build test ERROR on powerpc/next]
[also build test ERROR on v4.11-rc5 next-20170406]
[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/Nicholas-Piggin/latest-cpufeatures-patch-series/20170406-140710
base:   https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next
config: powerpc-allnoconfig (attached as .config)
compiler: powerpc-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        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 >>):

   arch/powerpc/kernel/prom.c: In function 'early_init_dt_scan_cpufeatures':
>> arch/powerpc/kernel/prom.c:508:2: error: 'has_cpufeatures_node' undeclared (first use in this function)
     has_cpufeatures_node = 1;
     ^~~~~~~~~~~~~~~~~~~~
   arch/powerpc/kernel/prom.c:508:2: note: each undeclared identifier is reported only once for each function it appears in
   arch/powerpc/kernel/prom.c: In function 'early_init_dt_scan_cpus':
   arch/powerpc/kernel/prom.c:631:7: error: 'has_cpufeatures_node' undeclared (first use in this function)
     if (!has_cpufeatures_node) {
          ^~~~~~~~~~~~~~~~~~~~

vim +/has_cpufeatures_node +508 arch/powerpc/kernel/prom.c

   502			printk("cpu-features node has missing property \"isa\"\n");
   503			return 0;
   504		}
   505	
   506		isa = be32_to_cpup(prop);
   507	
 > 508		has_cpufeatures_node = 1;
   509	
   510		/* Count and allocate space for cpu features */
   511		of_scan_flat_dt_subnodes(node, count_cpufeatures_subnodes,

---
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: 6124 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20170406/c20b98f1/attachment-0001.gz>


More information about the Linuxppc-dev mailing list