Skip to contentSkip to conversation

mips/octeon/smp: Remove space before newline

PATCH Applied Colin Ian King 2 participants 2 messages Jul 29, 2025 – Aug 29, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mips/octeon/smp: Remove space before newline

There is an extraneous space before a newline in a pr_info message. Remove it.

---
 arch/mips/cavium-octeon/smp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/mips/cavium-octeon/smp.c +1 -1
index 08ea2cde1eb5..054e331b3202 100644
@@ -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);
Signature · 1 line
2.50.0
maintainer Applied
#1 lore raw
Quoted 13 lines · Colin Ian King

There is an extraneous space before a newline in a pr_info message. Remove it.

---
 arch/mips/cavium-octeon/smp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/mips/cavium-octeon/smp.c +0 -0
index 08ea2cde1eb5..054e331b3202 100644

arch/mips/cavium-octeon/smp.c static void octeon_cpu_die(unsigned int cpu) · line 340

Quoted 8 lines
arch/mips/cavium-octeon/smp.c +1 -1
@@ -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.

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