public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Downgrade printk that complains about unsupported PCI PM caps
       [not found]       ` <20050112004147.GA22156@kroah.com>
@ 2005-01-12 19:21         ` David Howells
  2005-01-13  1:19           ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: David Howells @ 2005-01-12 19:21 UTC (permalink / raw)
  To: Greg KH, torvalds; +Cc: Dominik Brodowski, linux-kernel


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 <dhowells@redhat.com>
---
warthog>diffstat -p1 pci-pm-printk-2611rc1.diff 
 drivers/pci/pci.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -uNrp /warthog/kernels/linux-2.6.11-rc1/drivers/pci/pci.c linux-2.6.11-rc1-frv/drivers/pci/pci.c
--- /warthog/kernels/linux-2.6.11-rc1/drivers/pci/pci.c	2005-01-12 19:08:56.272808059 +0000
+++ linux-2.6.11-rc1-frv/drivers/pci/pci.c	2005-01-12 19:12:43.944820438 +0000
@@ -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;

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Downgrade printk that complains about unsupported PCI PM caps
  2005-01-12 19:21         ` [PATCH] Downgrade printk that complains about unsupported PCI PM caps David Howells
@ 2005-01-13  1:19           ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2005-01-13  1:19 UTC (permalink / raw)
  To: David Howells; +Cc: torvalds, Dominik Brodowski, linux-kernel

On Wed, Jan 12, 2005 at 07:21:36PM +0000, David Howells wrote:
> 
> 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 <dhowells@redhat.com>

Applied, thanks.

greg k-h

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-01-13  1:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20050108055142.GB8571@kroah.com>
     [not found] ` <20050106123710.GA8125@dominikbrodowski.de>
     [not found]   ` <9726.1105105388@redhat.com>
     [not found]     ` <26980.1105357916@redhat.com>
     [not found]       ` <20050112004147.GA22156@kroah.com>
2005-01-12 19:21         ` [PATCH] Downgrade printk that complains about unsupported PCI PM caps David Howells
2005-01-13  1:19           ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox