PCI: cpqphp: move space in debug messages
Subsystems (2)
PATCH 1/1 PCI: cpqphp: move space in debug messages
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 <[email protected]>
--- drivers/pci/hotplug/cpqphp_pci.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/pci/hotplug/cpqphp_pci.c +4 -4
@@ -1302,7 +1302,7 @@ int cpqhp_find_available_resources(struct controller *ctrl, void __iomem *rom_stdbg ("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_stdbg ("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;
Signature · 1 line
2.50.0
Quoted 4 lines · Colin Ian King
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 <[email protected]>
Applied (squashed into previous) to pci/hotplug for v6.18, thanks!
Quoted 47 lines
--- drivers/pci/hotplug/cpqphp_pci.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)drivers/pci/hotplug/cpqphp_pci.c +4
-4@@ -1302,7 +1302,7 @@ int cpqhp_find_available_resources(struct controller *ctrl, void __iomem *rom_stdbg ("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_stdbg ("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;Signature · 1 line
2.50.0