linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next] net: phy: mdio-bcm-iproc: Do not show kernel pointer
@ 2020-04-17 18:34 Florian Fainelli
  2020-04-17 18:44 ` Andrew Lunn
  2020-04-18 22:50 ` David Miller
  0 siblings, 2 replies; 3+ messages in thread
From: Florian Fainelli @ 2020-04-17 18:34 UTC (permalink / raw)
  To: netdev
  Cc: Andrew Lunn, Florian Fainelli, Scott Branden, Ray Jui,
	Russell King, open list,
	maintainer:BROADCOM IPROC ARM ARCHITECTURE, David S. Miller,
	moderated list:BROADCOM IPROC ARM ARCHITECTURE, Heiner Kallweit

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>
---
 drivers/net/phy/mdio-bcm-iproc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/phy/mdio-bcm-iproc.c b/drivers/net/phy/mdio-bcm-iproc.c
index f1ded03f0229..38bf40e0d673 100644
--- a/drivers/net/phy/mdio-bcm-iproc.c
+++ b/drivers/net/phy/mdio-bcm-iproc.c
@@ -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;
 
-- 
2.19.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH net-next] net: phy: mdio-bcm-iproc: Do not show kernel pointer
  2020-04-17 18:34 [PATCH net-next] net: phy: mdio-bcm-iproc: Do not show kernel pointer Florian Fainelli
@ 2020-04-17 18:44 ` Andrew Lunn
  2020-04-18 22:50 ` David Miller
  1 sibling, 0 replies; 3+ messages in thread
From: Andrew Lunn @ 2020-04-17 18:44 UTC (permalink / raw)
  To: Florian Fainelli
  Cc: Scott Branden, netdev, Russell King, open list,
	maintainer:BROADCOM IPROC ARM ARCHITECTURE, Ray Jui,
	David S. Miller, moderated list:BROADCOM IPROC ARM ARCHITECTURE,
	Heiner Kallweit

On Fri, Apr 17, 2020 at 11:34:20AM -0700, Florian Fainelli wrote:
> 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>

    Andrew

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH net-next] net: phy: mdio-bcm-iproc: Do not show kernel pointer
  2020-04-17 18:34 [PATCH net-next] net: phy: mdio-bcm-iproc: Do not show kernel pointer Florian Fainelli
  2020-04-17 18:44 ` Andrew Lunn
@ 2020-04-18 22:50 ` David Miller
  1 sibling, 0 replies; 3+ messages in thread
From: David Miller @ 2020-04-18 22:50 UTC (permalink / raw)
  To: f.fainelli
  Cc: andrew, sbranden, netdev, linux, linux-kernel,
	bcm-kernel-feedback-list, rjui, linux-arm-kernel, hkallweit1

From: Florian Fainelli <f.fainelli@gmail.com>
Date: Fri, 17 Apr 2020 11:34:20 -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>

Applied.

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-04-18 22:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-17 18:34 [PATCH net-next] net: phy: mdio-bcm-iproc: Do not show kernel pointer Florian Fainelli
2020-04-17 18:44 ` Andrew Lunn
2020-04-18 22:50 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).