[PATCH] mips/octeon/smp: Remove space before newline

Colin Ian King posted 1 patch 2 months, 1 week ago
arch/mips/cavium-octeon/smp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] mips/octeon/smp: Remove space before newline
Posted by Colin Ian King 2 months, 1 week ago
There is an extraneous space before a newline in a pr_info message.
Remove it.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
---
 arch/mips/cavium-octeon/smp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/mips/cavium-octeon/smp.c b/arch/mips/cavium-octeon/smp.c
index 08ea2cde1eb5..054e331b3202 100644
--- a/arch/mips/cavium-octeon/smp.c
+++ b/arch/mips/cavium-octeon/smp.c
@@ -334,7 +334,7 @@ static void octeon_cpu_die(unsigned int cpu)
 		new_mask = *p;
 	}
 
-	pr_info("Reset core %d. Available Coremask = 0x%x \n", coreid, new_mask);
+	pr_info("Reset core %d. Available Coremask = 0x%x\n", coreid, new_mask);
 	mb();
 	cvmx_write_csr(CVMX_CIU_PP_RST, 1 << coreid);
 	cvmx_write_csr(CVMX_CIU_PP_RST, 0);
-- 
2.50.0
Re: [PATCH] mips/octeon/smp: Remove space before newline
Posted by Thomas Bogendoerfer 1 month, 1 week ago
On Tue, Jul 29, 2025 at 12:21:41PM +0100, Colin Ian King wrote:
> There is an extraneous space before a newline in a pr_info message.
> Remove it.
> 
> Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
> ---
>  arch/mips/cavium-octeon/smp.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/mips/cavium-octeon/smp.c b/arch/mips/cavium-octeon/smp.c
> index 08ea2cde1eb5..054e331b3202 100644
> --- a/arch/mips/cavium-octeon/smp.c
> +++ b/arch/mips/cavium-octeon/smp.c
> @@ -334,7 +334,7 @@ static void octeon_cpu_die(unsigned int cpu)
>  		new_mask = *p;
>  	}
>  
> -	pr_info("Reset core %d. Available Coremask = 0x%x \n", coreid, new_mask);
> +	pr_info("Reset core %d. Available Coremask = 0x%x\n", coreid, new_mask);
>  	mb();
>  	cvmx_write_csr(CVMX_CIU_PP_RST, 1 << coreid);
>  	cvmx_write_csr(CVMX_CIU_PP_RST, 0);

applied to mips-next.

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]