powerpc/32: Add missing \n and switch to pr_warn()
authorColin Ian King <colin.king@canonical.com>
Mon, 12 Sep 2016 10:12:24 +0000 (11:12 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 13 Sep 2016 07:37:11 +0000 (17:37 +1000)
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>
arch/powerpc/mm/init_32.c

index 448685fbf27c47cb52c5f231f6a424a99c686c1e..8a7c38b8d335d733917962fbf0c2eaad31b982e4 100644 (file)
@@ -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