netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next] net: ll_temac: Fix incorrect PHY node reference in debug message
@ 2025-07-10 18:37 Alok Tiwari
  2025-07-12  0:40 ` patchwork-bot+netdevbpf
  0 siblings, 1 reply; 2+ messages in thread
From: Alok Tiwari @ 2025-07-10 18:37 UTC (permalink / raw)
  To: abin.joseph, radhey.shyam.pandey, michal.simek, andrew+netdev,
	davem, edumazet, kuba, pabeni, horms, netdev
  Cc: alok.a.tiwari, darren.kenny

In temac_probe(), the debug message intended to print the resolved
PHY node was mistakenly using the controller node temac_np
instead of the actual PHY node lp->phy_node. This patch corrects
the log to reference the correct device tree node.

Signed-off-by: Alok Tiwari <alok.a.tiwari@oracle.com>
---
 drivers/net/ethernet/xilinx/ll_temac_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/xilinx/ll_temac_main.c b/drivers/net/ethernet/xilinx/ll_temac_main.c
index 6f82203a414cd..711ed9c2631b0 100644
--- a/drivers/net/ethernet/xilinx/ll_temac_main.c
+++ b/drivers/net/ethernet/xilinx/ll_temac_main.c
@@ -1595,7 +1595,7 @@ static int temac_probe(struct platform_device *pdev)
 	if (temac_np) {
 		lp->phy_node = of_parse_phandle(temac_np, "phy-handle", 0);
 		if (lp->phy_node)
-			dev_dbg(lp->dev, "using PHY node %pOF\n", temac_np);
+			dev_dbg(lp->dev, "using PHY node %pOF\n", lp->phy_node);
 	} else if (pdata) {
 		snprintf(lp->phy_name, sizeof(lp->phy_name),
 			 PHY_ID_FMT, lp->mii_bus->id, pdata->phy_addr);
-- 
2.46.0


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

* Re: [PATCH net-next] net: ll_temac: Fix incorrect PHY node reference in debug message
  2025-07-10 18:37 [PATCH net-next] net: ll_temac: Fix incorrect PHY node reference in debug message Alok Tiwari
@ 2025-07-12  0:40 ` patchwork-bot+netdevbpf
  0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2025-07-12  0:40 UTC (permalink / raw)
  To: Alok Tiwari
  Cc: abin.joseph, radhey.shyam.pandey, michal.simek, andrew+netdev,
	davem, edumazet, kuba, pabeni, horms, netdev, darren.kenny

Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Thu, 10 Jul 2025 11:37:34 -0700 you wrote:
> In temac_probe(), the debug message intended to print the resolved
> PHY node was mistakenly using the controller node temac_np
> instead of the actual PHY node lp->phy_node. This patch corrects
> the log to reference the correct device tree node.
> 
> Signed-off-by: Alok Tiwari <alok.a.tiwari@oracle.com>
> 
> [...]

Here is the summary with links:
  - [net-next] net: ll_temac: Fix incorrect PHY node reference in debug message
    https://git.kernel.org/netdev/net-next/c/a393644d7d16

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



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

end of thread, other threads:[~2025-07-12  0:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-10 18:37 [PATCH net-next] net: ll_temac: Fix incorrect PHY node reference in debug message Alok Tiwari
2025-07-12  0:40 ` patchwork-bot+netdevbpf

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).