net: phy: mdio-bcm-iproc: Do not show kernel pointer
Subsystems (4)
PATCH 1/1 net: phy: mdio-bcm-iproc: Do not show kernel pointer
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.
--- drivers/net/phy/mdio-bcm-iproc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/phy/mdio-bcm-iproc.c +1 -1
@@ -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 ;
Signature · 1 line
2.19.1
Quoted 6 lines · Florian Fainelli
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 <[email protected]>
Andrew
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
From: Florian Fainelli <[email protected]>
Date: Fri, 17 Apr 2020 11:34:20 -0700
Quoted 6 lines
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 <[email protected]>
Applied.