Hi Alistair,

[auto build test ERROR on powerpc/next]
[also build test ERROR on v4.3 next-20151110]

url:    
https://github.com/0day-ci/linux/commits/Alistair-Popple/platforms-powernv-Add-support-for-Nvlink-NPUs/20151110-103410
base:   https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next
config: powerpc-defconfig (attached as .config)
reproduce:
        wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/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/platforms/powernv/pci-ioda.c: In function 
'pnv_ioda_setup_dev_PE':
>> arch/powerpc/platforms/powernv/pci-ioda.c:960:5: error: 'struct pci_dn' has 
>> no member named 'pcidev'
     pdn->pcidev = dev;
        ^
--
   arch/powerpc/platforms/powernv/npu-dma.c: In function 'get_pci_dev':
>> arch/powerpc/platforms/powernv/npu-dma.c:27:19: error: 'struct pci_dn' has 
>> no member named 'pcidev'
     return PCI_DN(dn)->pcidev;
                      ^
   arch/powerpc/platforms/powernv/npu-dma.c:28:1: warning: control reaches end 
of non-void function [-Wreturn-type]
    }
    ^

vim +960 arch/powerpc/platforms/powernv/pci-ioda.c

184cd4a3 Benjamin Herrenschmidt 2011-11-15  954          * once we actually 
start removing things (Hotplug, SR-IOV, ...)
184cd4a3 Benjamin Herrenschmidt 2011-11-15  955          *
184cd4a3 Benjamin Herrenschmidt 2011-11-15  956          * At some point we 
want to remove the PDN completely anyways
184cd4a3 Benjamin Herrenschmidt 2011-11-15  957          */
184cd4a3 Benjamin Herrenschmidt 2011-11-15  958         pe = 
&phb->ioda.pe_array[pe_num];
184cd4a3 Benjamin Herrenschmidt 2011-11-15  959         pci_dev_get(dev);
184cd4a3 Benjamin Herrenschmidt 2011-11-15 @960         pdn->pcidev = dev;
184cd4a3 Benjamin Herrenschmidt 2011-11-15  961         pdn->pe_number = pe_num;
644b77a9 Alistair Popple        2015-11-10  962         pe->flags = 
PNV_IODA_PE_DEV;
184cd4a3 Benjamin Herrenschmidt 2011-11-15  963         pe->pdev = dev;

:::::: The code at line 960 was first introduced by commit
:::::: 184cd4a3b962a4769889615430eaf40076b97969 powerpc/powernv: PCI support 
for p7IOC under OPAL v2

:::::: TO: Benjamin Herrenschmidt <b...@kernel.crashing.org>
:::::: CC: Benjamin Herrenschmidt <b...@kernel.crashing.org>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: Binary data

_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Reply via email to