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

kbuild test robot lkp at intel.com
Tue Nov 10 21:43:13 AEDT 2015


Hi Alistair,

[auto build test WARNING on powerpc/next]
[also build test WARNING 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-allyesconfig (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 warnings (new ones prefixed by >>):

   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 +28 arch/powerpc/platforms/powernv/npu-dma.c

    21	
    22	#include "powernv.h"
    23	#include "pci.h"
    24	
    25	static struct pci_dev *get_pci_dev(struct device_node *dn)
    26	{
  > 27		return PCI_DN(dn)->pcidev;
  > 28	}
    29	
    30	/* Given a NPU device get the associated PCI device. */
    31	struct pci_dev *pnv_pci_get_gpu_dev(struct pci_dev *npdev)

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


More information about the Linuxppc-dev mailing list