* [PATCH RESEND] net: phy: Convert to using %pOFn instead of device_node.name
@ 2018-09-28 22:04 Rob Herring
2018-10-02 6:30 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Rob Herring @ 2018-09-28 22:04 UTC (permalink / raw)
To: David S. Miller; +Cc: linux-kernel, Andrew Lunn, netdev, Florian Fainelli
In preparation to remove the node name pointer from struct device_node,
convert printf users to use the %pOFn format specifier.
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: netdev@vger.kernel.org
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Rob Herring <robh@kernel.org>
---
David, Resending because you superseded this one for some reason. It
shouldn't be. Perhaps because the subject was similar to others?
Rob
drivers/net/phy/mdio-thunder.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/phy/mdio-thunder.c b/drivers/net/phy/mdio-thunder.c
index 564616968cad..1546f6398831 100644
--- a/drivers/net/phy/mdio-thunder.c
+++ b/drivers/net/phy/mdio-thunder.c
@@ -73,8 +73,8 @@ static int thunder_mdiobus_pci_probe(struct pci_dev *pdev,
err = of_address_to_resource(node, 0, &r);
if (err) {
dev_err(&pdev->dev,
- "Couldn't translate address for \"%s\"\n",
- node->name);
+ "Couldn't translate address for \"%pOFn\"\n",
+ node);
break;
}
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH RESEND] net: phy: Convert to using %pOFn instead of device_node.name
2018-09-28 22:04 [PATCH RESEND] net: phy: Convert to using %pOFn instead of device_node.name Rob Herring
@ 2018-10-02 6:30 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2018-10-02 6:30 UTC (permalink / raw)
To: robh; +Cc: linux-kernel, andrew, netdev, f.fainelli
From: Rob Herring <robh@kernel.org>
Date: Fri, 28 Sep 2018 17:04:59 -0500
> In preparation to remove the node name pointer from struct device_node,
> convert printf users to use the %pOFn format specifier.
>
> Cc: Andrew Lunn <andrew@lunn.ch>
> Cc: "David S. Miller" <davem@davemloft.net>
> Cc: netdev@vger.kernel.org
> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
> Signed-off-by: Rob Herring <robh@kernel.org>
> ---
> David, Resending because you superseded this one for some reason. It
> shouldn't be. Perhaps because the subject was similar to others?
Applied, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-10-02 6:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-28 22:04 [PATCH RESEND] net: phy: Convert to using %pOFn instead of device_node.name Rob Herring
2018-10-02 6:30 ` 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).