Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

net: ll_temac: Fix incorrect PHY node reference in debug message

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>
Link: https://patch.msgid.link/20250710183737.2385156-1-alok.a.tiwari@oracle.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Alok Tiwari and committed by
Jakub Kicinski
a393644d f0600fe9

+1 -1
+1 -1
drivers/net/ethernet/xilinx/ll_temac_main.c
··· 1595 1595 if (temac_np) { 1596 1596 lp->phy_node = of_parse_phandle(temac_np, "phy-handle", 0); 1597 1597 if (lp->phy_node) 1598 - dev_dbg(lp->dev, "using PHY node %pOF\n", temac_np); 1598 + dev_dbg(lp->dev, "using PHY node %pOF\n", lp->phy_node); 1599 1599 } else if (pdata) { 1600 1600 snprintf(lp->phy_name, sizeof(lp->phy_name), 1601 1601 PHY_ID_FMT, lp->mii_bus->id, pdata->phy_addr);