+ 64bit-resource-fix-up-printks-for-resources-in-arch-and-core-code-fix.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     gregkh-pci-64bit-resource-fix-up-printks-for-resources-in-arch-and-core-code fix

has been added to the -mm tree.  Its filename is

     64bit-resource-fix-up-printks-for-resources-in-arch-and-core-code-fix.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: gregkh-pci-64bit-resource-fix-up-printks-for-resources-in-arch-and-core-code fix
From: Andy Isaacson <adi@xxxxxxxxxxxxx>


In 2.6.17-mm1, the patch
gregkh-pci-64bit-resource-fix-up-printks-for-resources-in-arch-and-core-code.patch
has some formatting bugs.
 * converts %08x into %16llx, which results in space-padding rather than
   zero-padding.
 * some casts are insufficiently touchy-feely with their castees.

This patch fixes them.

Signed-off-by: Andy Isaacson <adi@xxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 kernel/resource.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff -puN kernel/resource.c~64bit-resource-fix-up-printks-for-resources-in-arch-and-core-code-fix kernel/resource.c
--- a/kernel/resource.c~64bit-resource-fix-up-printks-for-resources-in-arch-and-core-code-fix
+++ a/kernel/resource.c
@@ -556,8 +556,8 @@ void __release_region(struct resource *p
 	write_unlock(&resource_lock);
 
 	printk(KERN_WARNING "Trying to free nonexistent resource "
-		"<%16llx-%16llx>\n", (unsigned long long)start,
-		(unsigned long long) end);
+		"<%016llx-%016llx>\n", (unsigned long long)start,
+		(unsigned long long)end);
 }
 
 EXPORT_SYMBOL(__release_region);
_

Patches currently in -mm which might be from adi@xxxxxxxxxxxxx are

64bit-resource-fix-up-printks-for-resources-in-arch-and-core-code-fix.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux