]> git.baikalelectronics.ru Git - kernel.git/commitdiff
net: phy: mdio-bcm-iproc: Do not show kernel pointer
authorFlorian Fainelli <f.fainelli@gmail.com>
Fri, 17 Apr 2020 18:34:20 +0000 (11:34 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 18 Apr 2020 22:50:04 +0000 (15:50 -0700)
Displaying the virtual address at which the MDIO base register address
has been mapped is not useful and is not visible with pointer hashing in
place, replace the message with something indicating successful
registration instead.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/mdio-bcm-iproc.c

index f1ded03f0229b1460ba992166434f3290ec23c37..38bf40e0d67378fb2f906bb3615d1c017af51a20 100644 (file)
@@ -159,7 +159,7 @@ static int iproc_mdio_probe(struct platform_device *pdev)
 
        platform_set_drvdata(pdev, priv);
 
-       dev_info(&pdev->dev, "Broadcom iProc MDIO bus at 0x%p\n", priv->base);
+       dev_info(&pdev->dev, "Broadcom iProc MDIO bus registered\n");
 
        return 0;