rpms/kernel/F-13 pci-change-error-messages-to-kern-info.patch, NONE, 1.1 kernel.spec, 1.2088, 1.2089 linux-2.6.30-hush-rom-warning.patch, 1.3, NONE pci-hush-rom-warning.patch, 1.1, NONE

Chuck Ebbert cebbert at fedoraproject.org
Fri Jul 9 10:42:00 UTC 2010


Author: cebbert

Update of /cvs/pkgs/rpms/kernel/F-13
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv27183

Modified Files:
	kernel.spec 
Added Files:
	pci-change-error-messages-to-kern-info.patch 
Removed Files:
	linux-2.6.30-hush-rom-warning.patch pci-hush-rom-warning.patch 
Log Message:
pci-change-error-messages-to-kern-info.patch:
  Use new upstream patch to silence more useless messages.

pci-change-error-messages-to-kern-info.patch:
 setup-res.c |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

--- NEW FILE pci-change-error-messages-to-kern-info.patch ---
From: Bjorn Helgaas <bjorn.helgaas at hp.com>
Date: Thu, 3 Jun 2010 19:47:18 +0000 (-0600)
Subject: PCI: change resource collision messages from KERN_ERR to KERN_INFO
X-Git-Tag: v2.6.35-rc3~4^2~3
X-Git-Url: http://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Ftorvalds%2Flinux-2.6.git;a=commitdiff_plain;h=f6d440daebd12be66ea1f834faf2966a49a07bd6

PCI: change resource collision messages from KERN_ERR to KERN_INFO

We can often deal with PCI resource issues by moving devices around.  In
that case, there's no point in alarming the user with messages like these.
There are many bug reports where the message itself is the only problem,
e.g., https://bugs.launchpad.net/ubuntu/+source/linux/+bug/413419 .

Signed-off-by: Bjorn Helgaas <bjorn.helgaas at hp.com>
Signed-off-by: Jesse Barnes <jbarnes at virtuousgeek.org>
---

diff --git a/drivers/pci/setup-res.c b/drivers/pci/setup-res.c
index 17bed18..92379e2 100644
--- a/drivers/pci/setup-res.c
+++ b/drivers/pci/setup-res.c
@@ -97,16 +97,16 @@ int pci_claim_resource(struct pci_dev *dev, int resource)
 
 	root = pci_find_parent_resource(dev, res);
 	if (!root) {
-		dev_err(&dev->dev, "no compatible bridge window for %pR\n",
-			res);
+		dev_info(&dev->dev, "no compatible bridge window for %pR\n",
+			 res);
 		return -EINVAL;
 	}
 
 	conflict = request_resource_conflict(root, res);
 	if (conflict) {
-		dev_err(&dev->dev,
-			"address space collision: %pR conflicts with %s %pR\n",
-			res, conflict->name, conflict);
+		dev_info(&dev->dev,
+			 "address space collision: %pR conflicts with %s %pR\n",
+			 res, conflict->name, conflict);
 		return -EBUSY;
 	}
 


Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/F-13/kernel.spec,v
retrieving revision 1.2088
retrieving revision 1.2089
diff -u -p -r1.2088 -r1.2089
--- kernel.spec	9 Jul 2010 10:04:05 -0000	1.2088
+++ kernel.spec	9 Jul 2010 10:41:58 -0000	1.2089
@@ -648,7 +648,7 @@ Patch460: linux-2.6-serial-460800.patch
 Patch470: die-floppy-die.patch
 
 Patch510: linux-2.6-silence-noise.patch
-Patch520: pci-hush-rom-warning.patch
+Patch520: pci-change-error-messages-to-kern-info.patch
 Patch530: linux-2.6-silence-fbcon-logo.patch
 Patch570: linux-2.6-selinux-mprotect-checks.patch
 Patch580: linux-2.6-sparc-selinux-mprotect-checks.patch
@@ -1269,7 +1269,7 @@ ApplyPatch linux-2.6-serial-460800.patch
 
 # Silence some useless messages that still get printed with 'quiet'
 ApplyPatch linux-2.6-silence-noise.patch
-ApplyPatch pci-hush-rom-warning.patch
+ApplyPatch pci-change-error-messages-to-kern-info.patch
 
 # Make fbcon not show the penguins with 'quiet'
 ApplyPatch linux-2.6-silence-fbcon-logo.patch
@@ -2003,6 +2003,10 @@ fi
 
 
 %changelog
+* Fri Jul 09 2010 Chuck Ebbert <cebbert at redhat.com>  2.6.34.1-5
+- pci-change-error-messages-to-kern-info.patch:
+  Use new upstream patch to silence more useless messages.
+
 * Fri Jul 09 2010 Chuck Ebbert <cebbert at redhat.com>  2.6.34.1-4
 - sched-fix-over-scheduling-bug.patch: fix scheduler bug with CGROUPS
 


--- linux-2.6.30-hush-rom-warning.patch DELETED ---


--- pci-hush-rom-warning.patch DELETED ---



More information about the scm-commits mailing list