diff options
author | Nicolas Pitre <nico@cam.org> | 2005-11-03 15:40:50 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-11-03 15:40:50 -0500 |
commit | 24bcc2f46cf8982dbc02c8e3037dfc5e12f1e35c (patch) | |
tree | 1136d17728f1222470f0e03f58163b9ed4c72dca | |
parent | 089311e117adb8ffe13984d122e33287ffa8c7ec (diff) |
[ARM] 3092/1: remove excessive print format padding
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>
-rw-r--r-- | arch/arm/mm/mm-armv.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mm/mm-armv.c b/arch/arm/mm/mm-armv.c index 1221fdde1769..fb5b40289de2 100644 --- a/arch/arm/mm/mm-armv.c +++ b/arch/arm/mm/mm-armv.c | |||
@@ -469,14 +469,14 @@ void __init create_mapping(struct map_desc *md) | |||
469 | 469 | ||
470 | if (md->virtual != vectors_base() && md->virtual < TASK_SIZE) { | 470 | if (md->virtual != vectors_base() && md->virtual < TASK_SIZE) { |
471 | printk(KERN_WARNING "BUG: not creating mapping for " | 471 | printk(KERN_WARNING "BUG: not creating mapping for " |
472 | "0x%016llx at 0x%08lx in user region\n", | 472 | "0x%08llx at 0x%08lx in user region\n", |
473 | __pfn_to_phys((u64)md->pfn), md->virtual); | 473 | __pfn_to_phys((u64)md->pfn), md->virtual); |
474 | return; | 474 | return; |
475 | } | 475 | } |
476 | 476 | ||
477 | if ((md->type == MT_DEVICE || md->type == MT_ROM) && | 477 | if ((md->type == MT_DEVICE || md->type == MT_ROM) && |
478 | md->virtual >= PAGE_OFFSET && md->virtual < VMALLOC_END) { | 478 | md->virtual >= PAGE_OFFSET && md->virtual < VMALLOC_END) { |
479 | printk(KERN_WARNING "BUG: mapping for 0x%016llx at 0x%08lx " | 479 | printk(KERN_WARNING "BUG: mapping for 0x%08llx at 0x%08lx " |
480 | "overlaps vmalloc space\n", | 480 | "overlaps vmalloc space\n", |
481 | __pfn_to_phys((u64)md->pfn), md->virtual); | 481 | __pfn_to_phys((u64)md->pfn), md->virtual); |
482 | } | 482 | } |
@@ -492,14 +492,14 @@ void __init create_mapping(struct map_desc *md) | |||
492 | if(md->pfn >= 0x100000) { | 492 | if(md->pfn >= 0x100000) { |
493 | if(domain) { | 493 | if(domain) { |
494 | printk(KERN_ERR "MM: invalid domain in supersection " | 494 | printk(KERN_ERR "MM: invalid domain in supersection " |
495 | "mapping for 0x%016llx at 0x%08lx\n", | 495 | "mapping for 0x%08llx at 0x%08lx\n", |
496 | __pfn_to_phys((u64)md->pfn), md->virtual); | 496 | __pfn_to_phys((u64)md->pfn), md->virtual); |
497 | return; | 497 | return; |
498 | } | 498 | } |
499 | if((md->virtual | md->length | __pfn_to_phys(md->pfn)) | 499 | if((md->virtual | md->length | __pfn_to_phys(md->pfn)) |
500 | & ~SUPERSECTION_MASK) { | 500 | & ~SUPERSECTION_MASK) { |
501 | printk(KERN_ERR "MM: cannot create mapping for " | 501 | printk(KERN_ERR "MM: cannot create mapping for " |
502 | "0x%016llx at 0x%08lx invalid alignment\n", | 502 | "0x%08llx at 0x%08lx invalid alignment\n", |
503 | __pfn_to_phys((u64)md->pfn), md->virtual); | 503 | __pfn_to_phys((u64)md->pfn), md->virtual); |
504 | return; | 504 | return; |
505 | } | 505 | } |