powerpc/mm: Fix printk type warning in mmu_context_nohash

We need to use %zu instead of %d when printing a sizeof()
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent d62cbf45
...@@ -380,7 +380,7 @@ void __init mmu_context_init(void) ...@@ -380,7 +380,7 @@ void __init mmu_context_init(void)
#endif #endif
printk(KERN_INFO printk(KERN_INFO
"MMU: Allocated %d bytes of context maps for %d contexts\n", "MMU: Allocated %zu bytes of context maps for %d contexts\n",
2 * CTX_MAP_SIZE + (sizeof(void *) * (last_context + 1)), 2 * CTX_MAP_SIZE + (sizeof(void *) * (last_context + 1)),
last_context - first_context + 1); last_context - first_context + 1);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment