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:
cef354d
)
PCI: fix -Wakpm warnings in pci_pm_init debug output
author
Jesse Barnes
<jbarnes@virtuousgeek.org>
Tue, 23 Sep 2008 18:43:34 +0000
(11:43 -0700)
committer
Jesse Barnes
<jbarnes@virtuousgeek.org>
Mon, 20 Oct 2008 17:54:18 +0000
(10:54 -0700)
Checkpatch would have complained about this but neither Bjorn nor myself
ran it prior to pushing. Fixup the issues Andrew pointed out.
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 e1a17b85447bb94cb7d8f2545b572ba7f67606ea..09dc893c81db827f12d47f4f8f1cb379e4e8729c 100644
(file)
--- a/
drivers/pci/pci.c
+++ b/
drivers/pci/pci.c
@@
-1270,8
+1270,8
@@
void pci_pm_init(struct pci_dev *dev)
if (dev->d1_support || dev->d2_support)
dev_printk(KERN_DEBUG, &dev->dev, "supports%s%s\n",
- dev->d1_support ? " D1": "",
- dev->d2_support ? " D2": "");
+ dev->d1_support ? " D1"
: "",
+ dev->d2_support ? " D2"
: "");
}
pmc &= PCI_PM_CAP_PME_MASK;