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

The space in a handful of debug messages is in the wrong place, it
is after a %d and before the \n, move it to be before the %d.

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

diff --git a/drivers/pci/hotplug/cpqphp_pci.c b/drivers/pci/hotplug/cpqphp_pci.c
index ef7534a3ca40..88929360fe77 100644
--- a/drivers/pci/hotplug/cpqphp_pci.c
+++ b/drivers/pci/hotplug/cpqphp_pci.c
@@ -1302,7 +1302,7 @@ int cpqhp_find_available_resources(struct controller *ctrl, void __iomem *rom_st
 
 			dbg("found io_node(base, length) = %x, %x\n",
 					io_node->base, io_node->length);
-			dbg("populated slot =%d \n", populated_slot);
+			dbg("populated slot = %d\n", populated_slot);
 			if (!populated_slot) {
 				io_node->next = ctrl->io_head;
 				ctrl->io_head = io_node;
@@ -1325,7 +1325,7 @@ int cpqhp_find_available_resources(struct controller *ctrl, void __iomem *rom_st
 
 			dbg("found mem_node(base, length) = %x, %x\n",
 					mem_node->base, mem_node->length);
-			dbg("populated slot =%d \n", populated_slot);
+			dbg("populated slot = %d\n", populated_slot);
 			if (!populated_slot) {
 				mem_node->next = ctrl->mem_head;
 				ctrl->mem_head = mem_node;
@@ -1349,7 +1349,7 @@ int cpqhp_find_available_resources(struct controller *ctrl, void __iomem *rom_st
 			p_mem_node->length = pre_mem_length << 16;
 			dbg("found p_mem_node(base, length) = %x, %x\n",
 					p_mem_node->base, p_mem_node->length);
-			dbg("populated slot =%d \n", populated_slot);
+			dbg("populated slot = %d\n", populated_slot);
 
 			if (!populated_slot) {
 				p_mem_node->next = ctrl->p_mem_head;
@@ -1373,7 +1373,7 @@ int cpqhp_find_available_resources(struct controller *ctrl, void __iomem *rom_st
 			bus_node->length = max_bus - secondary_bus + 1;
 			dbg("found bus_node(base, length) = %x, %x\n",
 					bus_node->base, bus_node->length);
-			dbg("populated slot =%d \n", populated_slot);
+			dbg("populated slot = %d\n", populated_slot);
 			if (!populated_slot) {
 				bus_node->next = ctrl->bus_head;
 				ctrl->bus_head = bus_node;
-- 
2.50.0


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

* Re: [PATCH][next] PCI: cpqphp: move space in debug messages
  2025-07-31 10:10 [PATCH][next] PCI: cpqphp: move space in debug messages Colin Ian King
@ 2025-08-06 20:12 ` Bjorn Helgaas
  0 siblings, 0 replies; 2+ messages in thread
From: Bjorn Helgaas @ 2025-08-06 20:12 UTC (permalink / raw)
  To: Colin Ian King
  Cc: Bjorn Helgaas, Ilpo Järvinen, linux-pci, kernel-janitors,
	linux-kernel

On Thu, Jul 31, 2025 at 11:10:36AM +0100, Colin Ian King wrote:
> The space in a handful of debug messages is in the wrong place, it
> is after a %d and before the \n, move it to be before the %d.
> 
> Signed-off-by: Colin Ian King <colin.i.king@gmail.com>

Applied (squashed into previous) to pci/hotplug for v6.18, thanks!

> ---
>  drivers/pci/hotplug/cpqphp_pci.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/drivers/pci/hotplug/cpqphp_pci.c b/drivers/pci/hotplug/cpqphp_pci.c
> index ef7534a3ca40..88929360fe77 100644
> --- a/drivers/pci/hotplug/cpqphp_pci.c
> +++ b/drivers/pci/hotplug/cpqphp_pci.c
> @@ -1302,7 +1302,7 @@ int cpqhp_find_available_resources(struct controller *ctrl, void __iomem *rom_st
>  
>  			dbg("found io_node(base, length) = %x, %x\n",
>  					io_node->base, io_node->length);
> -			dbg("populated slot =%d \n", populated_slot);
> +			dbg("populated slot = %d\n", populated_slot);
>  			if (!populated_slot) {
>  				io_node->next = ctrl->io_head;
>  				ctrl->io_head = io_node;
> @@ -1325,7 +1325,7 @@ int cpqhp_find_available_resources(struct controller *ctrl, void __iomem *rom_st
>  
>  			dbg("found mem_node(base, length) = %x, %x\n",
>  					mem_node->base, mem_node->length);
> -			dbg("populated slot =%d \n", populated_slot);
> +			dbg("populated slot = %d\n", populated_slot);
>  			if (!populated_slot) {
>  				mem_node->next = ctrl->mem_head;
>  				ctrl->mem_head = mem_node;
> @@ -1349,7 +1349,7 @@ int cpqhp_find_available_resources(struct controller *ctrl, void __iomem *rom_st
>  			p_mem_node->length = pre_mem_length << 16;
>  			dbg("found p_mem_node(base, length) = %x, %x\n",
>  					p_mem_node->base, p_mem_node->length);
> -			dbg("populated slot =%d \n", populated_slot);
> +			dbg("populated slot = %d\n", populated_slot);
>  
>  			if (!populated_slot) {
>  				p_mem_node->next = ctrl->p_mem_head;
> @@ -1373,7 +1373,7 @@ int cpqhp_find_available_resources(struct controller *ctrl, void __iomem *rom_st
>  			bus_node->length = max_bus - secondary_bus + 1;
>  			dbg("found bus_node(base, length) = %x, %x\n",
>  					bus_node->base, bus_node->length);
> -			dbg("populated slot =%d \n", populated_slot);
> +			dbg("populated slot = %d\n", populated_slot);
>  			if (!populated_slot) {
>  				bus_node->next = ctrl->bus_head;
>  				ctrl->bus_head = bus_node;
> -- 
> 2.50.0
> 

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

end of thread, other threads:[~2025-08-06 20:12 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:10 [PATCH][next] PCI: cpqphp: move space in debug messages Colin Ian King
2025-08-06 20:12 ` 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).