* [PATCH] net: phy: realtek: fix listing of sysfs directory tree
@ 2026-11-15 21:40 Mateusz Jończyk
2026-11-15 23:00 ` Andrew Lunn
0 siblings, 1 reply; 2+ messages in thread
From: Mateusz Jończyk @ 2026-11-15 21:40 UTC (permalink / raw)
To: Andrew Lunn, Javen Xu
Cc: Heiner Kallweit, Russell King, Jakub Kicinski, Maxime Chevallier,
netdev, linux-kernel, Mateusz Jończyk, stable
On git master, listing the contents of sysfs produces an error:
root@mateusz-debian:/sys# LANG=C find -iname foobar
find: './module/realtek/drivers': Input/output error
root@mateusz-debian:/sys# LANG=C ls -1 ./module/realtek/drivers
ls: reading directory './module/realtek/drivers': Input/output error
'mdio_bus:Generic FE-GE Realtek PHY'
'mdio_bus:RTL8201CP Ethernet'
'mdio_bus:RTL8201F Fast Ethernet'
'mdio_bus:RTL8208 Fast Ethernet'
'mdio_bus:RTL8211B Gigabit Ethernet'
[...]
Investigation shows that the forward slash in the driver name is the
culprit. Fix it.
Cc: stable@vger.kernel.org
Fixes: f0667918d5fc ("net: phy: realtek: add support for RTL8261D")
Signed-off-by: Mateusz Jończyk <mat.jonczyk@o2.pl>
---
drivers/net/phy/realtek/realtek_main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/phy/realtek/realtek_main.c b/drivers/net/phy/realtek/realtek_main.c
index ca2d515b77b3..a39ad18382f2 100644
--- a/drivers/net/phy/realtek/realtek_main.c
+++ b/drivers/net/phy/realtek/realtek_main.c
@@ -3483,7 +3483,7 @@ static struct phy_driver realtek_drvs[] = {
.write_mmd = genphy_write_mmd_unsupported,
}, {
PHY_ID_MATCH_EXACT(RTL_8261C_CG),
- .name = "Realtek RTL8261C/D 10Gbps PHY",
+ .name = "Realtek RTL8261C_RTL8261D 10Gbps PHY",
.probe = rtl8261x_probe,
.config_init = rtl8261x_config_init,
.get_features = rtl8261x_get_features,
--
2.47.3
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] net: phy: realtek: fix listing of sysfs directory tree
2026-11-15 21:40 [PATCH] net: phy: realtek: fix listing of sysfs directory tree Mateusz Jończyk
@ 2026-11-15 23:00 ` Andrew Lunn
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Lunn @ 2026-11-15 23:00 UTC (permalink / raw)
To: Mateusz Jończyk
Cc: Javen Xu, Heiner Kallweit, Russell King, Jakub Kicinski,
Maxime Chevallier, netdev, linux-kernel, stable
On Sun, Nov 15, 2026 at 10:40:45PM +0100, Mateusz Jończyk wrote:
> On git master, listing the contents of sysfs produces an error:
>
> root@mateusz-debian:/sys# LANG=C find -iname foobar
> find: './module/realtek/drivers': Input/output error
> root@mateusz-debian:/sys# LANG=C ls -1 ./module/realtek/drivers
> ls: reading directory './module/realtek/drivers': Input/output error
> 'mdio_bus:Generic FE-GE Realtek PHY'
> 'mdio_bus:RTL8201CP Ethernet'
> 'mdio_bus:RTL8201F Fast Ethernet'
> 'mdio_bus:RTL8208 Fast Ethernet'
> 'mdio_bus:RTL8211B Gigabit Ethernet'
> [...]
>
> Investigation shows that the forward slash in the driver name is the
> culprit. Fix it.
>
> Cc: stable@vger.kernel.org
> Fixes: f0667918d5fc ("net: phy: realtek: add support for RTL8261D")
> Signed-off-by: Mateusz Jończyk <mat.jonczyk@o2.pl>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Andrew
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-11-15 23:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-15 21:40 [PATCH] net: phy: realtek: fix listing of sysfs directory tree Mateusz Jończyk
2026-11-15 23:00 ` Andrew Lunn
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®