Commit ec84f126 authored by Jesse Barnes's avatar Jesse Barnes

PCI: fix -Wakpm warnings in pci_pm_init debug output

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: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
parent cef354db
...@@ -1270,8 +1270,8 @@ void pci_pm_init(struct pci_dev *dev) ...@@ -1270,8 +1270,8 @@ void pci_pm_init(struct pci_dev *dev)
if (dev->d1_support || dev->d2_support) if (dev->d1_support || dev->d2_support)
dev_printk(KERN_DEBUG, &dev->dev, "supports%s%s\n", dev_printk(KERN_DEBUG, &dev->dev, "supports%s%s\n",
dev->d1_support ? " D1": "", dev->d1_support ? " D1" : "",
dev->d2_support ? " D2": ""); dev->d2_support ? " D2" : "");
} }
pmc &= PCI_PM_CAP_PME_MASK; pmc &= PCI_PM_CAP_PME_MASK;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment