diff mbox series

[RFC,pci] nvme-pci: nvme_rescan_prepare() can be static

Message ID 20190326153756.GA108234@lkp-hsx02 (mailing list archive)
State New, archived
Delegated to: Bjorn Helgaas
Headers show
Series [RFC,pci] nvme-pci: nvme_rescan_prepare() can be static | expand

Commit Message

kernel test robot March 26, 2019, 3:37 p.m. UTC
Fixes: aad30cad0869 ("nvme-pci: Handle movable BARs")
Signed-off-by: kbuild test robot <lkp@intel.com>
---
 pci.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/drivers/nvme/host/pci.c b/drivers/nvme/host/pci.c
index ec1461e..6575fe6 100644
--- a/drivers/nvme/host/pci.c
+++ b/drivers/nvme/host/pci.c
@@ -2916,7 +2916,7 @@  static void nvme_error_resume(struct pci_dev *pdev)
 	flush_work(&dev->ctrl.reset_work);
 }
 
-void nvme_rescan_prepare(struct pci_dev *pdev)
+static void nvme_rescan_prepare(struct pci_dev *pdev)
 {
 	struct nvme_dev *dev = pci_get_drvdata(pdev);
 
@@ -2925,7 +2925,7 @@  void nvme_rescan_prepare(struct pci_dev *pdev)
 	dev->bar = NULL;
 }
 
-void nvme_rescan_done(struct pci_dev *pdev)
+static void nvme_rescan_done(struct pci_dev *pdev)
 {
 	struct nvme_dev *dev = pci_get_drvdata(pdev);