[PATCH] cxl: use pcibios_free_controller_deferred() when removing vPHBs

kbuild test robot lkp at intel.com
Tue Aug 23 05:23:40 AEST 2016


Hi Andrew,

[auto build test ERROR on char-misc/char-misc-testing]
[also build test ERROR on v4.8-rc3 next-20160822]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
[Suggest to use git(>=2.9.0) format-patch --base=<commit> (or --base=auto for convenience) to record what (public, well-known) commit your patch series was built on]
[Check https://git-scm.com/docs/git-format-patch for more information]

url:    https://github.com/0day-ci/linux/commits/Andrew-Donnellan/cxl-use-pcibios_free_controller_deferred-when-removing-vPHBs/20160818-154040
config: powerpc-allmodconfig (attached as .config)
compiler: powerpc64-linux-gnu-gcc (Debian 5.4.0-6) 5.4.0 20160609
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 >>):

   drivers/misc/cxl/vphb.c: In function 'cxl_pci_vphb_add':
>> drivers/misc/cxl/vphb.c:235:9: error: 'pcibios_free_controller_deferred' undeclared (first use in this function)
            pcibios_free_controller_deferred,
            ^
   drivers/misc/cxl/vphb.c:235:9: note: each undeclared identifier is reported only once for each function it appears in

vim +/pcibios_free_controller_deferred +235 drivers/misc/cxl/vphb.c

   229		pcibios_scan_phb(phb);
   230		if (phb->bus == NULL)
   231			return -ENXIO;
   232	
   233		/* Set release hook on root bus */
   234		pci_set_host_bridge_release(to_pci_host_bridge(phb->bus->bridge),
 > 235					    pcibios_free_controller_deferred,
   236					    (void *) phb);
   237	
   238		/* Claim resources. This might need some rework as well depending

---
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: 49909 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20160823/819b530e/attachment-0001.obj>


More information about the Linuxppc-dev mailing list