Skip to content

Commit

Permalink
net: phy: mdio-bcm-unimac: Remove print of base address
Browse files Browse the repository at this point in the history
Since commit ad67b74 ("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>
  • Loading branch information
Florian Fainelli authored and David S. Miller committed Mar 21, 2019
1 parent 10585b4 commit 647aed2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/phy/mdio-bcm-unimac.c
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ static int unimac_mdio_probe(struct platform_device *pdev)

platform_set_drvdata(pdev, priv);

dev_info(&pdev->dev, "Broadcom UniMAC MDIO bus at 0x%p\n", priv->base);
dev_info(&pdev->dev, "Broadcom UniMAC MDIO bus\n");

return 0;

Expand Down

0 comments on commit 647aed2

Please sign in to comment.