ARM: mvebu: add missing newline at end of messages
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 12 Jun 2015 13:38:34 +0000 (15:38 +0200)
committerGregory CLEMENT <gregory.clement@free-electrons.com>
Thu, 9 Jul 2015 12:17:22 +0000 (14:17 +0200)
Commit 548ae94c1cc7f ("ARM: mvebu: Disable CPU Idle on Armada 38x")
added two new pr_warn() messages in mach-mvebu/pmsu.c. However, these
messages lack the final new line, causing the next message to be
displayed on the same line.

This commit adds the missing ending newlines.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
arch/arm/mach-mvebu/pmsu.c

index 4f4e22206ae5a913cbb5ebebb5b195f6d751028c..e8fdb9ceedf0c7c9402bff4123ea9c375a1ccbfe 100644 (file)
@@ -415,7 +415,7 @@ static __init int armada_38x_cpuidle_init(void)
        void __iomem *mpsoc_base;
        u32 reg;
 
-       pr_warn("CPU idle is currently broken on Armada 38x: disabling");
+       pr_warn("CPU idle is currently broken on Armada 38x: disabling\n");
        return 0;
 
        np = of_find_compatible_node(NULL, NULL,
@@ -486,7 +486,7 @@ static int __init mvebu_v7_cpu_pm_init(void)
         */
        if (of_machine_is_compatible("marvell,armada380")) {
                cpu_hotplug_disable();
-               pr_warn("CPU hotplug support is currently broken on Armada 38x: disabling");
+               pr_warn("CPU hotplug support is currently broken on Armada 38x: disabling\n");
        }
 
        if (of_machine_is_compatible("marvell,armadaxp"))