linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [arm:cex7 10/41] drivers/pci/controller/mobiveil/pcie-mobiveil-host.c:456:20: error: implicit declaration of function 'pci_msi_create_irq_domain'; did you mean 'msi_create_irq_domain'?
@ 2019-10-09 23:17 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2019-10-09 23:17 UTC (permalink / raw)
  To: Hou Zhiqiang
  Cc: Minghuan Lian, Russell King, Subrahmanya Lingappa, kbuild-all,
	linux-arm-kernel

[-- Attachment #1: Type: text/plain, Size: 5550 bytes --]

tree:   git://git.armlinux.org.uk/~rmk/linux-arm.git cex7
head:   9de8c9294924dc903e79ca03162cbd208a834330
commit: 2729e9ee9e99b04171a1cddddcd3027dd350dbde [10/41] PCI: mobiveil: Refactor Mobiveil PCIe Host Bridge IP driver
config: powerpc-allyesconfig (attached as .config)
compiler: powerpc64-linux-gcc (GCC) 7.4.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 2729e9ee9e99b04171a1cddddcd3027dd350dbde
        # save the attached .config to linux build tree
        GCC_VERSION=7.4.0 make.cross ARCH=powerpc 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   drivers/pci/controller/mobiveil/pcie-mobiveil-host.c: In function 'mobiveil_allocate_msi_domains':
>> drivers/pci/controller/mobiveil/pcie-mobiveil-host.c:456:20: error: implicit declaration of function 'pci_msi_create_irq_domain'; did you mean 'msi_create_irq_domain'? [-Werror=implicit-function-declaration]
     msi->msi_domain = pci_msi_create_irq_domain(fwnode,
                       ^~~~~~~~~~~~~~~~~~~~~~~~~
                       msi_create_irq_domain
   drivers/pci/controller/mobiveil/pcie-mobiveil-host.c:456:18: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
     msi->msi_domain = pci_msi_create_irq_domain(fwnode,
                     ^
   cc1: some warnings being treated as errors

vim +456 drivers/pci/controller/mobiveil/pcie-mobiveil-host.c

1e913e58335fbc drivers/pci/host/pcie-mobiveil.c                     Subrahmanya Lingappa 2018-05-30  441  
1e913e58335fbc drivers/pci/host/pcie-mobiveil.c                     Subrahmanya Lingappa 2018-05-30  442  static int mobiveil_allocate_msi_domains(struct mobiveil_pcie *pcie)
1e913e58335fbc drivers/pci/host/pcie-mobiveil.c                     Subrahmanya Lingappa 2018-05-30  443  {
1e913e58335fbc drivers/pci/host/pcie-mobiveil.c                     Subrahmanya Lingappa 2018-05-30  444  	struct device *dev = &pcie->pdev->dev;
1e913e58335fbc drivers/pci/host/pcie-mobiveil.c                     Subrahmanya Lingappa 2018-05-30  445  	struct fwnode_handle *fwnode = of_node_to_fwnode(dev->of_node);
2729e9ee9e99b0 drivers/pci/controller/mobiveil/pcie-mobiveil-host.c Hou Zhiqiang         2019-08-13  446  	struct mobiveil_msi *msi = &pcie->rp.msi;
1e913e58335fbc drivers/pci/host/pcie-mobiveil.c                     Subrahmanya Lingappa 2018-05-30  447  
2729e9ee9e99b0 drivers/pci/controller/mobiveil/pcie-mobiveil-host.c Hou Zhiqiang         2019-08-13  448  	mutex_init(&msi->lock);
1e913e58335fbc drivers/pci/host/pcie-mobiveil.c                     Subrahmanya Lingappa 2018-05-30  449  	msi->dev_domain = irq_domain_add_linear(NULL, msi->num_of_vectors,
1e913e58335fbc drivers/pci/host/pcie-mobiveil.c                     Subrahmanya Lingappa 2018-05-30  450  						&msi_domain_ops, pcie);
1e913e58335fbc drivers/pci/host/pcie-mobiveil.c                     Subrahmanya Lingappa 2018-05-30  451  	if (!msi->dev_domain) {
1e913e58335fbc drivers/pci/host/pcie-mobiveil.c                     Subrahmanya Lingappa 2018-05-30  452  		dev_err(dev, "failed to create IRQ domain\n");
1e913e58335fbc drivers/pci/host/pcie-mobiveil.c                     Subrahmanya Lingappa 2018-05-30  453  		return -ENOMEM;
1e913e58335fbc drivers/pci/host/pcie-mobiveil.c                     Subrahmanya Lingappa 2018-05-30  454  	}
1e913e58335fbc drivers/pci/host/pcie-mobiveil.c                     Subrahmanya Lingappa 2018-05-30  455  
1e913e58335fbc drivers/pci/host/pcie-mobiveil.c                     Subrahmanya Lingappa 2018-05-30 @456  	msi->msi_domain = pci_msi_create_irq_domain(fwnode,
e369faf6255df5 drivers/pci/controller/pcie-mobiveil.c               Hou Zhiqiang         2019-07-05  457  						    &mobiveil_msi_domain_info,
e369faf6255df5 drivers/pci/controller/pcie-mobiveil.c               Hou Zhiqiang         2019-07-05  458  						    msi->dev_domain);
1e913e58335fbc drivers/pci/host/pcie-mobiveil.c                     Subrahmanya Lingappa 2018-05-30  459  	if (!msi->msi_domain) {
1e913e58335fbc drivers/pci/host/pcie-mobiveil.c                     Subrahmanya Lingappa 2018-05-30  460  		dev_err(dev, "failed to create MSI domain\n");
1e913e58335fbc drivers/pci/host/pcie-mobiveil.c                     Subrahmanya Lingappa 2018-05-30  461  		irq_domain_remove(msi->dev_domain);
1e913e58335fbc drivers/pci/host/pcie-mobiveil.c                     Subrahmanya Lingappa 2018-05-30  462  		return -ENOMEM;
1e913e58335fbc drivers/pci/host/pcie-mobiveil.c                     Subrahmanya Lingappa 2018-05-30  463  	}
e369faf6255df5 drivers/pci/controller/pcie-mobiveil.c               Hou Zhiqiang         2019-07-05  464  
1e913e58335fbc drivers/pci/host/pcie-mobiveil.c                     Subrahmanya Lingappa 2018-05-30  465  	return 0;
1e913e58335fbc drivers/pci/host/pcie-mobiveil.c                     Subrahmanya Lingappa 2018-05-30  466  }
1e913e58335fbc drivers/pci/host/pcie-mobiveil.c                     Subrahmanya Lingappa 2018-05-30  467  

:::::: The code at line 456 was first introduced by commit
:::::: 1e913e58335fbc7a8da9662746dd54d6091488b8 PCI: mobiveil: Add MSI support

:::::: TO: Subrahmanya Lingappa <l.subrahmanya@mobiveil.co.in>
:::::: CC: Bjorn Helgaas <bhelgaas@google.com>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 62510 bytes --]

[-- Attachment #3: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-10-09 23:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-09 23:17 [arm:cex7 10/41] drivers/pci/controller/mobiveil/pcie-mobiveil-host.c:456:20: error: implicit declaration of function 'pci_msi_create_irq_domain'; did you mean 'msi_create_irq_domain'? kbuild test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).