[ARM] 3092/1: remove excessive print format padding
authorNicolas Pitre <nico@cam.org>
Thu, 3 Nov 2005 20:40:50 +0000 (20:40 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 3 Nov 2005 20:40:50 +0000 (20:40 +0000)
Patch from Nicolas Pitre

Using a llx format to print addresses that might possibly be (only) 36
bits wide make sense.  However making it a zero padded 16 char wide
field is a bit excessive and useless.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/mm-armv.c

index 1221fdde1769fbf4553392d8710008ffc8cb4ce3..fb5b40289de287fa34ab4e986e1fcbde7d18d99c 100644 (file)
@@ -469,14 +469,14 @@ void __init create_mapping(struct map_desc *md)
 
        if (md->virtual != vectors_base() && md->virtual < TASK_SIZE) {
                printk(KERN_WARNING "BUG: not creating mapping for "
-                      "0x%016llx at 0x%08lx in user region\n",
+                      "0x%08llx at 0x%08lx in user region\n",
                       __pfn_to_phys((u64)md->pfn), md->virtual);
                return;
        }
 
        if ((md->type == MT_DEVICE || md->type == MT_ROM) &&
            md->virtual >= PAGE_OFFSET && md->virtual < VMALLOC_END) {
-               printk(KERN_WARNING "BUG: mapping for 0x%016llx at 0x%08lx "
+               printk(KERN_WARNING "BUG: mapping for 0x%08llx at 0x%08lx "
                       "overlaps vmalloc space\n",
                       __pfn_to_phys((u64)md->pfn), md->virtual);
        }
@@ -492,14 +492,14 @@ void __init create_mapping(struct map_desc *md)
        if(md->pfn >= 0x100000) {
                if(domain) {
                        printk(KERN_ERR "MM: invalid domain in supersection "
-                               "mapping for 0x%016llx at 0x%08lx\n",
+                               "mapping for 0x%08llx at 0x%08lx\n",
                                __pfn_to_phys((u64)md->pfn), md->virtual);
                        return;
                }
                if((md->virtual | md->length | __pfn_to_phys(md->pfn))
                        & ~SUPERSECTION_MASK) {
                        printk(KERN_ERR "MM: cannot create mapping for "
-                               "0x%016llx at 0x%08lx invalid alignment\n",
+                               "0x%08llx at 0x%08lx invalid alignment\n",
                                __pfn_to_phys((u64)md->pfn), md->virtual);
                        return;
                }