Downgrade printk that complains about unsupported PCI PM caps
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 1/1 Downgrade printk that complains about unsupported PCI PM caps
The attached patch downgrades to KERN_DEBUG level the printk that issues a notification that an unsupported version of the PCI power management registers has been encountered by pci_set_power_state().
Signed-off-by David Howells <[email protected]>
---
warthog>diffstat -p1 pci-pm-printk-2611rc1.diff
drivers/pci/pci.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-)
drivers/pci/pci.c renamed from warthog/kernels/linux-2.6.11-rc1/drivers/pci/pci.c +1 -1
@@ -269,7 +269,7 @@ pci_set_power_state(struct pci_dev *dev,pci_read_config_word (dev,pm +PCI_PM_PMC ,&pmc);if ((pmc &PCI_PM_CAP_VER_MASK ) !=2 ) { -printk (KERN_WARNING +printk (KERN_DEBUG "PCI: %s has unsupported PM cap regs version (%u)\n" , dev->slot_name, pmc &PCI_PM_CAP_VER_MASK );return -EIO ;
Greg KH
AppliedQuoted 6 lines · David Howells
The attached patch downgrades to
KERN_DEBUGlevel the printk that issues a notification that an unsupported version of the PCI power management registers has been encountered bypci_set_power_state().Signed-off-by David Howells <[email protected]>
Applied, thanks.
greg k-h