tree: https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git pci/host-imx6 head: fcdd77fa71175fbff6508dbe5323a1272c8d5c8b commit: 562a9f55091d99ae6aa752a5988c14ef7740a07f [19/25] PCI: imx6: Pass device-specific struct to internal functions config: arm-allmodconfig (attached as .config) compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705 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 git checkout 562a9f55091d99ae6aa752a5988c14ef7740a07f # save the attached .config to linux build tree make.cross ARCH=arm All error/warnings (new ones prefixed by >>): drivers/pci/host/pci-imx6.c: In function 'imx6_pcie_shutdown': >> drivers/pci/host/pci-imx6.c:745:30: error: 'imx6_pcie_pcie' undeclared (first use in this function) imx6_pcie_assert_core_reset(imx6_pcie_pcie); ^~~~~~~~~~~~~~ drivers/pci/host/pci-imx6.c:745:30: note: each undeclared identifier is reported only once for each function it appears in >> drivers/pci/host/pci-imx6.c:742:20: warning: unused variable 'imx6_pcie' [-Wunused-variable] struct imx6_pcie *imx6_pcie = platform_get_drvdata(pdev); ^~~~~~~~~ vim +/imx6_pcie_pcie +745 drivers/pci/host/pci-imx6.c 736 platform_set_drvdata(pdev, imx6_pcie); 737 return 0; 738 } 739 740 static void imx6_pcie_shutdown(struct platform_device *pdev) 741 { > 742 struct imx6_pcie *imx6_pcie = platform_get_drvdata(pdev); 743 744 /* bring down link, so bootloader gets clean state in case of reboot */ > 745 imx6_pcie_assert_core_reset(imx6_pcie_pcie); 746 } 747 748 static const struct of_device_id imx6_pcie_of_match[] = { --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip