From: Shiji Yang Date: Fri, 12 Dec 2025 16:40:41 +0000 (+0800) Subject: kernel: rtl836x: change missing mdio node log level to info X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=f8af185ec539df7af1cf29e1a1df2c15e4cb73a2;p=openwrt%2Fopenwrt.git kernel: rtl836x: change missing mdio node log level to info mdio node is optional for the rtl836x switch. Some devices use GPIO to control the switch chip. Missing mdio is a normal behavior. Signed-off-by: Shiji Yang Link: https://github.com/openwrt/openwrt/pull/21143 Signed-off-by: Hauke Mehrtens --- diff --git a/target/linux/generic/files/drivers/net/phy/rtl8366_smi.c b/target/linux/generic/files/drivers/net/phy/rtl8366_smi.c index f043b2b875..f4879a827b 100644 --- a/target/linux/generic/files/drivers/net/phy/rtl8366_smi.c +++ b/target/linux/generic/files/drivers/net/phy/rtl8366_smi.c @@ -1489,7 +1489,7 @@ static int rtl8366_smi_probe_of(struct platform_device *pdev, struct rtl8366_smi mdio_node = of_parse_phandle(np, "mii-bus", 0); if (!mdio_node) { - dev_err(&pdev->dev, "cannot find mdio node phandle"); + dev_info(&pdev->dev, "cannot find mdio node phandle"); goto try_gpio; }