Skip to content

Commit

Permalink
PCI: fix -Wakpm warnings in pci_pm_init debug output
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jesse Barnes committed Oct 20, 2008
1 parent cef354d commit ec84f12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/pci/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ec84f12

Please sign in to comment.