From: Andrew Morton ERROR: spaces required around that ':' (ctx:VxW) #43: FILE: drivers/pci/pci.c:1273: + dev->d1_support ? " D1": "", ^ ERROR: spaces required around that ':' (ctx:VxW) #44: FILE: drivers/pci/pci.c:1274: + dev->d2_support ? " D2": ""); ^ total: 2 errors, 0 warnings, 38 lines checked ./patches/pci-tidy-pme-support-messages.patch has style problems, please review. If any of these errors are false positives report them to the maintainer, see CHECKPATCH in MAINTAINERS. Please run checkpatch prior to sending patches Cc: Bjorn Helgaas Cc: Jesse Barnes Signed-off-by: Andrew Morton --- drivers/pci/pci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -puN drivers/pci/pci.c~pci-tidy-pme-support-messages-checkpatch-fixes drivers/pci/pci.c --- a/drivers/pci/pci.c~pci-tidy-pme-support-messages-checkpatch-fixes +++ a/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; _