rpms/kernel/devel linux-2.6.27-pci-hush-allocation-failures.patch, NONE, 1.1 kernel.spec, 1.1056, 1.1057

Adam Jackson ajax at fedoraproject.org
Thu Oct 16 18:18:01 UTC 2008


Author: ajax

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

Modified Files:
	kernel.spec 
Added Files:
	linux-2.6.27-pci-hush-allocation-failures.patch 
Log Message:
* Thu Oct 16 2008 Adam Jackson <ajax at redhat.com> 2.6.27.1-21
- Don't carp about PCI BAR allocation failures in quiet boot


linux-2.6.27-pci-hush-allocation-failures.patch:

--- NEW FILE linux-2.6.27-pci-hush-allocation-failures.patch ---
diff -up linux-2.6.27.noarch/drivers/pci/setup-res.c.jx linux-2.6.27.noarch/drivers/pci/setup-res.c
--- linux-2.6.27.noarch/drivers/pci/setup-res.c.jx	2008-10-09 18:13:53.000000000 -0400
+++ linux-2.6.27.noarch/drivers/pci/setup-res.c	2008-10-16 14:12:13.000000000 -0400
@@ -138,10 +138,10 @@ int pci_assign_resource(struct pci_dev *
 
 	align = resource_alignment(res);
 	if (!align) {
-		dev_err(&dev->dev, "BAR %d: can't allocate resource (bogus "
-			"alignment) [%#llx-%#llx] flags %#lx\n",
-			resno, (unsigned long long)res->start,
-			(unsigned long long)res->end, res->flags);
+		dev_info(&dev->dev, "BAR %d: can't allocate resource (bogus "
+			 "alignment) [%#llx-%#llx] flags %#lx\n",
+			 resno, (unsigned long long)res->start,
+			 (unsigned long long)res->end, res->flags);
 		return -EINVAL;
 	}
 
@@ -162,11 +162,11 @@ int pci_assign_resource(struct pci_dev *
 	}
 
 	if (ret) {
-		dev_err(&dev->dev, "BAR %d: can't allocate %s resource "
-			"[%#llx-%#llx]\n", resno,
-			res->flags & IORESOURCE_IO ? "I/O" : "mem",
-			(unsigned long long)res->start,
-			(unsigned long long)res->end);
+		dev_info(&dev->dev, "BAR %d: can't allocate %s resource "
+			 "[%#llx-%#llx]\n", resno,
+			 res->flags & IORESOURCE_IO ? "I/O" : "mem",
+			 (unsigned long long)res->start,
+			 (unsigned long long)res->end);
 	} else {
 		res->flags &= ~IORESOURCE_STARTALIGN;
 		if (resno < PCI_BRIDGE_RESOURCES)


Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/devel/kernel.spec,v
retrieving revision 1.1056
retrieving revision 1.1057
diff -u -r1.1056 -r1.1057
--- kernel.spec	16 Oct 2008 17:36:29 -0000	1.1056
+++ kernel.spec	16 Oct 2008 18:17:31 -0000	1.1057
@@ -683,6 +683,8 @@
 Patch2802: linux-2.6-silence-acpi-blacklist.patch
 # it's... it's ALIVE!
 Patch2803: linux-2.6-amd64-yes-i-know-you-live.patch
+# hush pci bar allocation failures
+Patch2804: linux-2.6.27-pci-hush-allocation-failures.patch
 
 # ext4 fun - new & improved, now with less dev!
 Patch2900: linux-2.6.27-ext4-stable-patch-queue.patch
@@ -1255,7 +1257,8 @@
 ApplyPatch linux-2.6-silence-acpi-blacklist.patch
 # it's... it's ALIVE!
 ApplyPatch linux-2.6-amd64-yes-i-know-you-live.patch
-
+# hush pci bar allocation failures
+ApplyPatch linux-2.6.27-pci-hush-allocation-failures.patch
 
 # END OF PATCH APPLICATIONS
 
@@ -1830,6 +1833,9 @@
 %kernel_variant_files -k vmlinux %{with_kdump} kdump
 
 %changelog
+* Thu Oct 16 2008 Adam Jackson <ajax at redhat.com> 2.6.27.1-21
+- Don't carp about PCI BAR allocation failures in quiet boot
+
 * Thu Oct 16 2008 Chuck Ebbert <cebbert at redhat.com> 2.6.27.1-20
 - Fix RTC on systems that don't expose it via PnP (F9#451188)
 




More information about the scm-commits mailing list