linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH pci] PCI: pci_host_assign_domain_nr() can be static
  2015-03-24 14:16 [pci:pci/enumeration-yw8 33/34] drivers/pci/host-bridge.c:220:6: sparse: symbol 'pci_host_assign_domain_nr' was not declared. Should it be static? kbuild test robot
@ 2015-03-24 14:16 ` kbuild test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kbuild test robot @ 2015-03-24 14:16 UTC (permalink / raw)
  To: Yijing Wang; +Cc: kbuild-all, Bjorn Helgaas, linux-pci, linux-kernel


Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
 host-bridge.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/pci/host-bridge.c b/drivers/pci/host-bridge.c
index c78f4d0..6c2ca7c 100644
--- a/drivers/pci/host-bridge.c
+++ b/drivers/pci/host-bridge.c
@@ -217,7 +217,7 @@ static int pci_assign_domain_nr(struct device *dev)
 #endif
 #endif
 
-void pci_host_assign_domain_nr(struct pci_host_bridge *host)
+static void pci_host_assign_domain_nr(struct pci_host_bridge *host)
 {
 #ifdef CONFIG_PCI_DOMAINS_GENERIC
 	host->domain = pci_assign_domain_nr(host->dev.parent);

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [pci:pci/enumeration-yw8 33/34] drivers/pci/host-bridge.c:220:6: sparse: symbol 'pci_host_assign_domain_nr' was not declared. Should it be static?
@ 2015-03-24 14:16 kbuild test robot
  2015-03-24 14:16 ` [PATCH pci] PCI: pci_host_assign_domain_nr() can be static kbuild test robot
  0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2015-03-24 14:16 UTC (permalink / raw)
  To: Yijing Wang; +Cc: kbuild-all, Bjorn Helgaas, linux-pci, linux-kernel

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git pci/enumeration-yw8
head:   4a5e3fc210d3aef19eaa32255183534aa4ac031d
commit: d72e727590caa7bd9f7e82a2cf23f6325aa3e75e [33/34] PCI: Remove pci_bus_assign_domain_nr()
reproduce:
  # apt-get install sparse
  git checkout d72e727590caa7bd9f7e82a2cf23f6325aa3e75e
  make ARCH=x86_64 allmodconfig
  make C=1 CF=-D__CHECK_ENDIAN__


sparse warnings: (new ones prefixed by >>)

>> drivers/pci/host-bridge.c:220:6: sparse: symbol 'pci_host_assign_domain_nr' was not declared. Should it be static?

Please review and possibly fold the followup patch.

---
0-DAY kernel test infrastructure                Open Source Technology Center
http://lists.01.org/mailman/listinfo/kbuild                 Intel Corporation

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-03-24 14:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-24 14:16 [pci:pci/enumeration-yw8 33/34] drivers/pci/host-bridge.c:220:6: sparse: symbol 'pci_host_assign_domain_nr' was not declared. Should it be static? kbuild test robot
2015-03-24 14:16 ` [PATCH pci] PCI: pci_host_assign_domain_nr() can be static 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).