projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bacd861
)
PCI: Fix missing inline for pci_pr3_present()
author
Takashi Iwai
<tiwai@suse.de>
Mon, 21 Oct 2019 14:25:20 +0000
(16:25 +0200)
committer
Takashi Iwai
<tiwai@suse.de>
Mon, 21 Oct 2019 14:27:29 +0000
(16:27 +0200)
The inline prefix was missing in the dummy function pci_pr3_present()
definition. Fix it.
Reported-by: kbuild test robot <lkp@intel.com>
Fixes:
52525b7a3cf8
("PCI: Add a helper to check Power Resource Requirements _PR3 existence")
Link:
https://lore.kernel.org/r/201910212111.qHm6OcWx%lkp@intel.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/linux/pci.h
patch
|
blob
|
history
diff --git
a/include/linux/pci.h
b/include/linux/pci.h
index
1d15c5d
..
be529d3
100644
(file)
--- a/
include/linux/pci.h
+++ b/
include/linux/pci.h
@@
-2314,7
+2314,7
@@
bool pci_pr3_present(struct pci_dev *pdev);
#else
static inline struct irq_domain *
pci_host_bridge_acpi_msi_domain(struct pci_bus *bus) { return NULL; }
-static bool pci_pr3_present(struct pci_dev *pdev) { return false; }
+static
inline
bool pci_pr3_present(struct pci_dev *pdev) { return false; }
#endif
#ifdef CONFIG_EEH