rpms/kernel/devel linux-2.6.30-hush-rom-warning.patch, NONE, 1.1 kernel.spec, 1.1661, 1.1662

Adam Jackson ajax at fedoraproject.org
Mon Jul 27 22:03:29 UTC 2009


Author: ajax

Update of /cvs/pkgs/rpms/kernel/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv27097

Modified Files:
	kernel.spec 
Added Files:
	linux-2.6.30-hush-rom-warning.patch 
Log Message:
* Mon Jul 27 2009 Adam Jackson <ajax at redhat.com>
- Warn quieter about not finding PCI bus parents for ROM BARs, they're
  not usually needed and there's nothing you can do about it anyway.


linux-2.6.30-hush-rom-warning.patch:
 setup-res.c |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

--- NEW FILE linux-2.6.30-hush-rom-warning.patch ---
diff -up linux-2.6.30.noarch/drivers/pci/setup-res.c.jx linux-2.6.30.noarch/drivers/pci/setup-res.c
--- linux-2.6.30.noarch/drivers/pci/setup-res.c.jx	2009-07-27 17:56:13.000000000 -0400
+++ linux-2.6.30.noarch/drivers/pci/setup-res.c	2009-07-27 17:58:25.000000000 -0400
@@ -109,7 +109,13 @@ int pci_claim_resource(struct pci_dev *d
 	if (root != NULL)
 		err = insert_resource(root, res);
 
-	if (err) {
+	if (err && resource == 6) {
+		dev_info(&dev->dev, "BAR %d: %s of %s %pR\n",
+			resource,
+			root ? "address space collision on" :
+				"no parent found for",
+			dtype, res);
+	} else if (err) {
 		dev_err(&dev->dev, "BAR %d: %s of %s %pR\n",
 			resource,
 			root ? "address space collision on" :


Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/devel/kernel.spec,v
retrieving revision 1.1661
retrieving revision 1.1662
diff -u -p -r1.1661 -r1.1662
--- kernel.spec	27 Jul 2009 17:17:24 -0000	1.1661
+++ kernel.spec	27 Jul 2009 22:03:29 -0000	1.1662
@@ -630,6 +630,7 @@ Patch451: linux-2.6-input-fix-toshiba-ho
 Patch460: linux-2.6-serial-460800.patch
 
 Patch510: linux-2.6-silence-noise.patch
+Patch520: linux-2.6.30-hush-rom-warning.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
@@ -1208,6 +1209,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 linux-2.6.30-hush-rom-warning.patch
 
 # Make fbcon not show the penguins with 'quiet'
 ApplyPatch linux-2.6-silence-fbcon-logo.patch
@@ -1896,6 +1898,10 @@ fi
 # and build.
 
 %changelog
+* Mon Jul 27 2009 Adam Jackson <ajax at redhat.com>
+- Warn quieter about not finding PCI bus parents for ROM BARs, they're
+  not usually needed and there's nothing you can do about it anyway.
+
 * Mon Jul 27 2009 Matthew Garrett <mjg at redhat.com>
 - linux-2.6-alsa-improve-hda-powerdown.patch - attempt to reduce audio glitches
    caused by HDA powerdown




More information about the fedora-extras-commits mailing list