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

Attachment: .config.gz
Description: application/gzip

Reply via email to