Skip to contentSkip to conversation

PCI: ibmphp: Remove space before newline

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

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

PATCH 1/1 PCI: ibmphp: Remove space before newline

There is an extraneous space before a newline in a handful of debug_polling and err messages. Remove the spaces.

---
 drivers/pci/hotplug/ibmphp_hpc.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/pci/hotplug/ibmphp_hpc.c +3 -3
index a5720d12e573..2324167656a6 100644
@@ -124,7 +124,7 @@ static u8 i2c_ctrl_read(struct controller *ctlr_ptr, void __iomem *WPGBbar, u8 i
 	unsigned long ultemp;
 	unsigned long data;	// actual data HILO format
 
-	debug_polling("%s - Entry WPGBbar[%p] index[%x] \n", __func__, WPGBbar, index);
+	debug_polling("%s - Entry WPGBbar[%p] index[%x]\n", __func__, WPGBbar, index);
 
 	//--------------------------------------------------------------------
 	// READ - step 1
@@ -147,7 +147,7 @@ static u8 i2c_ctrl_read(struct controller *ctlr_ptr, void __iomem *WPGBbar, u8 i
 		ultemp = ultemp << 8;
 		data |= ultemp;
 	} else {
-		err("this controller type is not supported \n");
+		err("this controller type is not supported\n");
 		return HPC_ERROR;
 	}
 
@@ -258,7 +258,7 @@ static u8 i2c_ctrl_write(struct controller *ctlr_ptr, void __iomem *WPGBbar, u8
 		ultemp = ultemp << 8;
 		data |= ultemp;
 	} else {
-		err("this controller type is not supported \n");
+		err("this controller type is not supported\n");
 		return HPC_ERROR;
 	}
 
Signature · 1 line
2.50.0
#1 lore raw
Quoted 4 lines · Colin Ian King

There is an extraneous space before a newline in a handful of debug_polling and err messages. Remove the spaces.

Applied to pci/hotplug for v6.18, thanks!. Will be rebased to v6.17-rc1 when that's tagged.

Quoted 38 lines
---
 drivers/pci/hotplug/ibmphp_hpc.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/pci/hotplug/ibmphp_hpc.c +3 -3
index a5720d12e573..2324167656a6 100644
@@ -124,7 +124,7 @@ static u8 i2c_ctrl_read(struct controller *ctlr_ptr, void __iomem *WPGBbar, u8 i
 	unsigned long ultemp;
 	unsigned long data;	// actual data HILO format
 
-	debug_polling("%s - Entry WPGBbar[%p] index[%x] \n", __func__, WPGBbar, index);
+	debug_polling("%s - Entry WPGBbar[%p] index[%x]\n", __func__, WPGBbar, index);
 
 	//--------------------------------------------------------------------
 	// READ - step 1
@@ -147,7 +147,7 @@ static u8 i2c_ctrl_read(struct controller *ctlr_ptr, void __iomem *WPGBbar, u8 i
 		ultemp = ultemp << 8;
 		data |= ultemp;
 	} else {
-		err("this controller type is not supported \n");
+		err("this controller type is not supported\n");
 		return HPC_ERROR;
 	}
 
@@ -258,7 +258,7 @@ static u8 i2c_ctrl_write(struct controller *ctlr_ptr, void __iomem *WPGBbar, u8
 		ultemp = ultemp << 8;
 		data |= ultemp;
 	} else {
-		err("this controller type is not supported \n");
+		err("this controller type is not supported\n");
 		return HPC_ERROR;
 	}
 
Signature · 1 line
2.50.0