projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1cc0ca2
)
PCI: __FUNCTION__ is gcc-specific, use __func__
author
Harvey Harrison
<harvey.harrison@gmail.com>
Thu, 8 Jan 2009 00:22:37 +0000
(16:22 -0800)
committer
Jesse Barnes
<jbarnes@hobbes.lan>
Fri, 20 Mar 2009 02:29:20 +0000
(19:29 -0700)
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/pci.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/pci/pci.c
b/drivers/pci/pci.c
index 6d6120007af4ed01d5fdc39331bff59349b1ed00..5737b8a9a732021841996598ebd10ce525d09426 100644
(file)
--- a/
drivers/pci/pci.c
+++ b/
drivers/pci/pci.c
@@
-657,7
+657,7
@@
static int pci_save_pcie_state(struct pci_dev *dev)
save_state = pci_find_saved_cap(dev, PCI_CAP_ID_EXP);
if (!save_state) {
- dev_err(&dev->dev, "buffer not found in %s\n", __
FUNCTION
__);
+ dev_err(&dev->dev, "buffer not found in %s\n", __
func
__);
return -ENOMEM;
}
cap = (u16 *)&save_state->data[0];
@@
-700,7
+700,7
@@
static int pci_save_pcix_state(struct pci_dev *dev)
save_state = pci_find_saved_cap(dev, PCI_CAP_ID_PCIX);
if (!save_state) {
- dev_err(&dev->dev, "buffer not found in %s\n", __
FUNCTION
__);
+ dev_err(&dev->dev, "buffer not found in %s\n", __
func
__);
return -ENOMEM;
}