]> www.infradead.org Git - users/hch/misc.git/commitdiff
PCI: hotplug: Clean up spaces in messages
authorColin Ian King <colin.i.king@gmail.com>
Thu, 31 Jul 2025 10:00:17 +0000 (11:00 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 11 Aug 2025 20:01:50 +0000 (15:01 -0500)
Remove extraneous space before newline in messages.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
[bhelgaas: squash into one patch, commit log]
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://patch.msgid.link/20250731100017.2165781-1-colin.i.king@gmail.com
Link: https://patch.msgid.link/20250731101036.2167812-1-colin.i.king@gmail.com
drivers/pci/hotplug/cpqphp_pci.c
drivers/pci/hotplug/ibmphp_hpc.c

index ef7534a3ca40ff7533238c970ef7119bab0452db..88929360fe7740a973a0bdf46146a235a77cb1db 100644 (file)
@@ -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;
index a5720d12e573237cb8cae77af8f1c0163837fbbb..2324167656a6f33bef69b54a5d655ce16c5514da 100644 (file)
@@ -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;
        }