diff mbox

[RFC] pci: pci_vpd_pci22_size can be static

Message ID 20151023104746.GA118189@lkp-hsx03
State Changes Requested
Headers show

Commit Message

kernel test robot Oct. 23, 2015, 10:47 a.m. UTC
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
 access.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/pci/access.c b/drivers/pci/access.c
index 3a49b14..41d86f6 100644
--- a/drivers/pci/access.c
+++ b/drivers/pci/access.c
@@ -495,7 +495,7 @@  static int pci_vpd_f0_dev_check(struct pci_dev *dev)
  * @old_size:	current assumed size, also maximum allowed size
  *
  */
-size_t
+static size_t
 pci_vpd_pci22_size(struct pci_dev *dev, size_t old_size)
 {
 	loff_t off = 0;