[PATCH] powerpc/powernv: Enable PCI peer-to-peer

kbuild test robot lkp at intel.com
Thu Jun 1 13:50:40 AEST 2017


Hi Frederic,

[auto build test ERROR on powerpc/next]
[also build test ERROR on v4.12-rc3 next-20170531]
[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/Frederic-Barrat/powerpc-powernv-Enable-PCI-peer-to-peer/20170531-035613
base:   https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next
config: powerpc-allmodconfig (attached as .config)
compiler: powerpc64-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/platforms/powernv/pci-ioda.c:1411:13: error: static declaration of 'pnv_pci_ioda2_set_bypass' follows non-static declaration
    static void pnv_pci_ioda2_set_bypass(struct pnv_ioda_pe *pe, bool enable);
                ^~~~~~~~~~~~~~~~~~~~~~~~
   In file included from arch/powerpc/platforms/powernv/pci-ioda.c:48:0:
   arch/powerpc/platforms/powernv/pci.h:233:13: note: previous declaration of 'pnv_pci_ioda2_set_bypass' was here
    extern void pnv_pci_ioda2_set_bypass(struct pnv_ioda_pe *pe, bool enable);
                ^~~~~~~~~~~~~~~~~~~~~~~~

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

ee8222fe Wei Yang             2015-10-22  1405  	pnv_pci_vf_release_m64(pdev, num_vfs);
781a868f Wei Yang             2015-03-25  1406  	return -EBUSY;
781a868f Wei Yang             2015-03-25  1407  }
781a868f Wei Yang             2015-03-25  1408  
c035e37b Alexey Kardashevskiy 2015-06-05  1409  static long pnv_pci_ioda2_unset_window(struct iommu_table_group *table_group,
c035e37b Alexey Kardashevskiy 2015-06-05  1410  		int num);
c035e37b Alexey Kardashevskiy 2015-06-05 @1411  static void pnv_pci_ioda2_set_bypass(struct pnv_ioda_pe *pe, bool enable);
c035e37b Alexey Kardashevskiy 2015-06-05  1412  
781a868f Wei Yang             2015-03-25  1413  static void pnv_pci_ioda2_release_dma_pe(struct pci_dev *dev, struct pnv_ioda_pe *pe)
781a868f Wei Yang             2015-03-25  1414  {

:::::: The code at line 1411 was first introduced by commit
:::::: c035e37b58c75ca216bfd1d5de3c1080ac0022b9 powerpc/powernv/ioda2: Use new helpers to do proper cleanup on PE release

:::::: TO: Alexey Kardashevskiy <aik at ozlabs.ru>
:::::: CC: Michael Ellerman <mpe at ellerman.id.au>

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


More information about the Linuxppc-dev mailing list