[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20171228162708.GA58636@lkp-ib04>
Date: Fri, 29 Dec 2017 00:27:08 +0800
From: kbuild test robot <lkp@...el.com>
To: Oza Pawandeep <poza@...eaurora.org>
Cc: kbuild-all@...org, Bjorn Helgaas <bhelgaas@...gle.com>,
Philippe Ombredanne <pombredanne@...b.com>,
Thomas Gleixner <tglx@...utronix.de>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Kate Stewart <kstewart@...uxfoundation.org>,
linux-pci@...r.kernel.org, linux-kernel@...r.kernel.org,
Dongdong Liu <liudongdong3@...wei.com>,
Gabriele Paoloni <gabriele.paoloni@...wei.com>,
Keith Busch <keith.busch@...el.com>, Wei Zhang <wzhang@...com>,
Sinan Kaya <okaya@...eaurora.org>,
Timur Tabi <timur@...eaurora.org>,
Oza Pawandeep <poza@...eaurora.org>
Subject: [RFC PATCH] PCI/DPC/AER: pci_find_dpc_dev() can be static
Fixes: fc0212127f27 ("PCI/DPC/AER: Address Concurrency between AER and DPC")
Signed-off-by: Fengguang Wu <fengguang.wu@...el.com>
---
pcie-dpc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/pci/pcie/pcie-dpc.c b/drivers/pci/pcie/pcie-dpc.c
index e7ced58..68296ec 100644
--- a/drivers/pci/pcie/pcie-dpc.c
+++ b/drivers/pci/pcie/pcie-dpc.c
@@ -88,7 +88,7 @@ static int find_dpc_dev_iter(struct device *device, void *data)
return 0;
}
-struct device *pci_find_dpc_dev(struct pci_dev *pdev)
+static struct device *pci_find_dpc_dev(struct pci_dev *pdev)
{
struct device *dev = NULL;
Powered by blists - more mailing lists