net: systemport: Remove print of base address
authorFlorian Fainelli <f.fainelli@gmail.com>
Wed, 20 Mar 2019 16:45:17 +0000 (09:45 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Mar 2019 20:32:35 +0000 (13:32 -0700)
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.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bcmsysport.c

index a9d3d26..dfe46da 100644 (file)
@@ -2598,11 +2598,11 @@ static int bcm_sysport_probe(struct platform_device *pdev)
 
        priv->rev = topctrl_readl(priv, REV_CNTL) & REV_MASK;
        dev_info(&pdev->dev,
-                "Broadcom SYSTEMPORT%s" REV_FMT
-                " at 0x%p (irqs: %d, %d, TXQs: %d, RXQs: %d)\n",
+                "Broadcom SYSTEMPORT%s " REV_FMT
+                " (irqs: %d, %d, TXQs: %d, RXQs: %d)\n",
                 priv->is_lite ? " Lite" : "",
                 (priv->rev >> 8) & 0xff, priv->rev & 0xff,
-                priv->base, priv->irq0, priv->irq1, txq, rxq);
+                priv->irq0, priv->irq1, txq, rxq);
 
        return 0;