diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2010-12-03 01:33:49 +0100 |
---|---|---|
committer | james toy <toyj@union.edu> | 2010-12-03 01:33:49 +0100 |
commit | 4e456aa1acdbbcdb4d8666b3a842e50d8c86e9d9 (patch) | |
tree | 0de3220ba83e648bfe65cd5a7b3da4c7c0a28d27 | |
parent | cf501631265a30cc625fb2b690c085b3ab00f1e4 (diff) |
mm/memblock.c: In function 'memblock_find_region':2010-12-02-16-34
mm/memblock.c:109: warning: format '%#llx' expects type 'long long unsigned int', but argument 4 has type 'phys_addr_t'
mm/memblock.c:109: warning: format '%#llx' expects type 'long long unsigned int', but argument 5 has type 'phys_addr_t'
mm/memblock.c:109: warning: format '%#llx' expects type 'long long unsigned int', but argument 6 has type 'phys_addr_t'
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
-rw-r--r-- | mm/memblock.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mm/memblock.c b/mm/memblock.c index 9f46cf9a98b7..f7d36510fc1d 100644 --- a/mm/memblock.c +++ b/mm/memblock.c @@ -106,7 +106,11 @@ static phys_addr_t __init_memblock memblock_find_region(phys_addr_t start, phys_ long j; /* In case, huge size is requested */ - if (WARN_ONCE(end < size, "memblock_find_region: wrong range [%#llx-%#llx] size %#llx", start, end, size)) + if (WARN_ONCE(end < size, + "memblock_find_region: wrong range [%#llx-%#llx] size %#llx", + (unsigned long long)start, + (unsigned long long)end, + (unsigned long long)size)) return MEMBLOCK_ERROR; base = memblock_align_down((end - size), align); |