linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH][next] PCI: ibmphp: Remove space before newline
@ 2025-07-31 10:00 Colin Ian King
  2025-08-06 20:11 ` Bjorn Helgaas
  0 siblings, 1 reply; 2+ messages in thread
From: Colin Ian King @ 2025-07-31 10:00 UTC (permalink / raw)
  To: Bjorn Helgaas, linux-pci; +Cc: kernel-janitors, linux-kernel

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

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
---
 drivers/pci/hotplug/ibmphp_hpc.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/pci/hotplug/ibmphp_hpc.c b/drivers/pci/hotplug/ibmphp_hpc.c
index a5720d12e573..2324167656a6 100644
--- a/drivers/pci/hotplug/ibmphp_hpc.c
+++ b/drivers/pci/hotplug/ibmphp_hpc.c
@@ -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;
 	}
 
-- 
2.50.0


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

* Re: [PATCH][next] PCI: ibmphp: Remove space before newline
  2025-07-31 10:00 [PATCH][next] PCI: ibmphp: Remove space before newline Colin Ian King
@ 2025-08-06 20:11 ` Bjorn Helgaas
  0 siblings, 0 replies; 2+ messages in thread
From: Bjorn Helgaas @ 2025-08-06 20:11 UTC (permalink / raw)
  To: Colin Ian King; +Cc: Bjorn Helgaas, linux-pci, kernel-janitors, linux-kernel

On Thu, Jul 31, 2025 at 11:00:17AM +0100, Colin Ian King wrote:
> There is an extraneous space before a newline in a handful of
> debug_polling and err messages. Remove the spaces.
> 
> Signed-off-by: Colin Ian King <colin.i.king@gmail.com>

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

> ---
>  drivers/pci/hotplug/ibmphp_hpc.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/pci/hotplug/ibmphp_hpc.c b/drivers/pci/hotplug/ibmphp_hpc.c
> index a5720d12e573..2324167656a6 100644
> --- a/drivers/pci/hotplug/ibmphp_hpc.c
> +++ b/drivers/pci/hotplug/ibmphp_hpc.c
> @@ -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;
>  	}
>  
> -- 
> 2.50.0
> 

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

end of thread, other threads:[~2025-08-06 20:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-31 10:00 [PATCH][next] PCI: ibmphp: Remove space before newline Colin Ian King
2025-08-06 20:11 ` Bjorn Helgaas

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).