[PATCH v2] platforms/powernv: Add support for Nvlink NPUs

kbuild test robot lkp at intel.com
Tue Nov 10 19:51:54 AEDT 2015


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 <benh at kernel.crashing.org>
:::::: CC: Benjamin Herrenschmidt <benh at kernel.crashing.org>

---
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/octet-stream
Size: 21501 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20151110/dc9d0535/attachment-0001.obj>


More information about the Linuxppc-dev mailing list