public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: David Howells <dhowells@redhat.com>
To: Greg KH <greg@kroah.com>, torvalds@osdl.org
Cc: Dominik Brodowski <linux@dominikbrodowski.de>,
	linux-kernel@vger.kernel.org
Subject: [PATCH] Downgrade printk that complains about unsupported PCI PM caps
Date: Wed, 12 Jan 2005 19:21:36 +0000	[thread overview]
Message-ID: <15971.1105557696@redhat.com> (raw)
In-Reply-To: <20050112004147.GA22156@kroah.com>


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;

       reply	other threads:[~2005-01-12 19:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [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         ` David Howells [this message]
2005-01-13  1:19           ` [PATCH] Downgrade printk that complains about unsupported PCI PM caps Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=15971.1105557696@redhat.com \
    --to=dhowells@redhat.com \
    --cc=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@dominikbrodowski.de \
    --cc=torvalds@osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox