linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <fengguang.wu@intel.com>
To: Yijing Wang <wangyijing@huawei.com>
Cc: kbuild-all@01.org, Bjorn Helgaas <bhelgaas@google.com>,
	linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH pci] PCI: pci_host_assign_domain_nr() can be static
Date: Tue, 24 Mar 2015 22:16:21 +0800	[thread overview]
Message-ID: <20150324141621.GA47322@lkp-sb04> (raw)
In-Reply-To: <201503242214.tdp6GlHv%fengguang.wu@intel.com>


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);

      reply	other threads:[~2015-03-24 14:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150324141621.GA47322@lkp-sb04 \
    --to=fengguang.wu@intel.com \
    --cc=bhelgaas@google.com \
    --cc=kbuild-all@01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=wangyijing@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).