Skip to contentSkip to conversation

pci: hotplug: ibmphp: Add white space to Debug Message

PATCH In review Emanuel Bennici 2 participants 2 messages Jun 2, 2019 PCI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pci: hotplug: ibmphp: Add white space to Debug Message

Add a Whitespace between '-' and 'Exit' to keep the log messages consistent

---
 drivers/pci/hotplug/ibmphp_core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/pci/hotplug/ibmphp_core.c +1 -1
index 59840a094973..cd73bea12bc7 100644
@@ -890,7 +890,7 @@ static int set_bus(struct slot *slot_cur)
 	/* This is for x440, once Brandon fixes the firmware,
 	will not need this delay */
 	msleep(1000);
-	debug("%s -Exit\n", __func__);
+	debug("%s - Exit\n", __func__);
 	return 0;
 }
 

--
2.19.1

#1 lore raw
Quoted 1 line · Emanuel Bennici

Add a Whitespace between '-' and 'Exit' to keep the log messages consistent

[]

drivers/pci/hotplug/ibmphp_core.c

Quoted 1 line
drivers/pci/hotplug/ibmphp_core.c +0 -0

[]

drivers/pci/hotplug/ibmphp_core.c static int set_bus(struct slot *slot_cur) · line 893

Quoted 6 lines
drivers/pci/hotplug/ibmphp_core.c +1 -1
@@ -890,7 +890,7 @@ static int set_bus(struct slot *slot_cur)
 	/* This is for x440, once Brandon fixes the firmware,
 	will not need this delay */
 	msleep(1000);
-	debug("%s -Exit\n", __func__);
+	debug("%s - Exit\n", __func__);

These sorts of messages should just be deleted
and the function tracer (ftrace) used instead.