Skip to content

Commit

Permalink
powerpc/32: Add missing \n and switch to pr_warn()
Browse files Browse the repository at this point in the history
The message is missing a \n, add it. Switch to pr_warn(), it's shorter
and less ugly.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
  • Loading branch information
Colin Ian King authored and Michael Ellerman committed Sep 13, 2016
1 parent ad41067 commit 3daf3c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/mm/init_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ void __init MMU_init(void)
if (memblock.memory.cnt > 1) {
#ifndef CONFIG_WII
memblock_enforce_memory_limit(memblock.memory.regions[0].size);
printk(KERN_WARNING "Only using first contiguous memory region");
pr_warn("Only using first contiguous memory region\n");
#else
wii_memory_fixups();
#endif
Expand Down

0 comments on commit 3daf3c2

Please sign in to comment.