Skip to contentSkip to conversation

bus: brcmstb_gisb: Remove print of base address

PATCH Applied Florian Fainelli 1 participant 2 messages Mar 20, 2019 – Mar 25, 2019 Broadcom BCM7XXX Arm architecture

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bus: brcmstb_gisb: Remove print of base address

Since commit ad67b74d2469 ("printk: hash addresses printed with %p") pointers are being hashed when printed. Displaying the virtual memory at bootup time is not helpful, especially given we use a dev_info() which already displays the platform device's address.

---
 drivers/bus/brcmstb_gisb.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/bus/brcmstb_gisb.c +2 -2
index f58ff67e97ac..12e7b418ce5d 100644
@@ -407,8 +407,8 @@ static int __init brcmstb_gisb_arb_probe(struct platform_device *pdev)
 					       &gisb_panic_notifier);
 	}
 
-	dev_info(&pdev->dev, "registered mem: %p, irqs: %d, %d\n",
-			gdev->base, timeout_irq, tea_irq);
+	dev_info(&pdev->dev, "registered irqs: %d, %d\n",
+		 timeout_irq, tea_irq);
 
 	return 0;
 }
Signature · 1 line
2.17.1
author Applied
#1 lore raw
Quoted 7 lines · Florian Fainelli

Since commit ad67b74d2469 ("printk: hash addresses printed with %p") pointers are being hashed when printed. Displaying the virtual memory at bootup time is not helpful, especially given we use a dev_info() which already displays the platform device's address.

---

Applied to drivers/next, thanks!
--
Florian