linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: mvebu: add missing newline at end of messages
@ 2015-06-12 13:38 Thomas Petazzoni
  2015-06-12 13:55 ` Andrew Lunn
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni @ 2015-06-12 13:38 UTC (permalink / raw)
  To: linux-arm-kernel

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>
---
 arch/arm/mach-mvebu/pmsu.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/mach-mvebu/pmsu.c b/arch/arm/mach-mvebu/pmsu.c
index 4f4e222..e8fdb9c 100644
--- a/arch/arm/mach-mvebu/pmsu.c
+++ b/arch/arm/mach-mvebu/pmsu.c
@@ -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"))
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH] ARM: mvebu: add missing newline at end of messages
  2015-06-12 13:38 [PATCH] ARM: mvebu: add missing newline at end of messages Thomas Petazzoni
@ 2015-06-12 13:55 ` Andrew Lunn
  2015-06-17 14:51   ` Gregory CLEMENT
  0 siblings, 1 reply; 3+ messages in thread
From: Andrew Lunn @ 2015-06-12 13:55 UTC (permalink / raw)
  To: linux-arm-kernel

On Fri, Jun 12, 2015 at 03:38:34PM +0200, Thomas Petazzoni wrote:
> 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>

Hardly needs it, but

Acked-by: Andrew Lunn <andrew@lunn.ch>?

	  Andrew


> ---
>  arch/arm/mach-mvebu/pmsu.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/arm/mach-mvebu/pmsu.c b/arch/arm/mach-mvebu/pmsu.c
> index 4f4e222..e8fdb9c 100644
> --- a/arch/arm/mach-mvebu/pmsu.c
> +++ b/arch/arm/mach-mvebu/pmsu.c
> @@ -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"))
> -- 
> 2.1.0
> 
> 
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] ARM: mvebu: add missing newline at end of messages
  2015-06-12 13:55 ` Andrew Lunn
@ 2015-06-17 14:51   ` Gregory CLEMENT
  0 siblings, 0 replies; 3+ messages in thread
From: Gregory CLEMENT @ 2015-06-17 14:51 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Andrew, Thomas,

On 12/06/2015 15:55, Andrew Lunn wrote:
> On Fri, Jun 12, 2015 at 03:38:34PM +0200, Thomas Petazzoni wrote:
>> 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>
> 
> Hardly needs it, but
> 
> Acked-by: Andrew Lunn <andrew@lunn.ch>?


applied on mvebu/cleanup-4.3

Thanks,

Gregory
> 
> 	  Andrew
> 
> 
>> ---
>>  arch/arm/mach-mvebu/pmsu.c | 4 ++--
>>  1 file changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/arch/arm/mach-mvebu/pmsu.c b/arch/arm/mach-mvebu/pmsu.c
>> index 4f4e222..e8fdb9c 100644
>> --- a/arch/arm/mach-mvebu/pmsu.c
>> +++ b/arch/arm/mach-mvebu/pmsu.c
>> @@ -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"))
>> -- 
>> 2.1.0
>>
>>
>> _______________________________________________
>> linux-arm-kernel mailing list
>> linux-arm-kernel at lists.infradead.org
>> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel


-- 
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-06-17 14:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-12 13:38 [PATCH] ARM: mvebu: add missing newline at end of messages Thomas Petazzoni
2015-06-12 13:55 ` Andrew Lunn
2015-06-17 14:51   ` Gregory CLEMENT

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).