From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=193.222.135.145 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1794778896; b=F+cAEMLC7tMuZRVpS6eNUpM5idiQEJ0fMROHhNO3H41QhJSnJuTq337kT/fRiWdb+/Kx t0QT38BcRz29Oar9GvmGTtsY+FtHkx3+GM5nwVWDt4sRi7cjXGdxxW9ykrbg0tJGPOQsu y6j0z4I0SK6+5BjTQgzTdi6xbIzrEpA/oPg3aGQyuBMaAi2e5xFiDthfAIHIn97Mbn4K4 LPUw+sUlgJbLOj8WcWMCfVtfbSX8LJsh9HRjEISLBoscpwpRL0gv7D052xm2rAjI1UqAl GxXnzUl2G9HnzHcHGjzL6iHLmRYgiFsRYLpBbvr400mRWxOOmgNmbxLk2drmVRsb1lw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794778896; h=DMARC-Filter:Received:DKIM-Signature:Received:From:To:Cc:Subject: Date:Message-ID:X-Mailer:MIME-Version:Content-Type: Content-Transfer-Encoding:X-WP-MailID:X-WP-AV:X-WP-SPAM; bh=EX/WMz4K9+MmwON2KxDxCyPiS2fPCwq6MkZjWtu8Bxs=; b=uMyVvefQqzIauLghLgAadlRlE2cqqrXQW5COJWOAxkV/U3K2mcAIVd4VnR2gRtsHNSIW QHGgHTGP0/DvKD5PgBh6VwXFXaFAfd6+ForLtMO2U2Zp2oLM3o61QMJyd4Ge0i5OP1E5b VaZKxwb2NrC5mN0dQv1s3cPM6PjH0ZMEW5eeivEcQswshPdkD20Xq3E/FxD1FPH2G1DfY P+OTclnFWECwNN1aFdkhcHRMKOlrthtJQAMiylWekqcSHSOf7zc5kt1T28CtVx6ru+7Ro 4YyRJB0XSsDZNVTVYNMB9OZ5IQCbKZrMbTQElc/RNf6dX/eqJ3CIdjVlG3xefx1arlQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=o2.pl; spf=pass smtp.mailfrom=o2.pl; dkim=pass header.d=o2.pl header.i=@o2.pl header.a=rsa-sha256 header.s=s20261001 header.b=F+aVCR5W; arc=none smtp.remote-ip=193.222.135.145 Received: from mx-out.tlen.pl (mx-out.tlen.pl [193.222.135.145]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C1569606A323 for ; Sun, 15 Nov 2026 21:41:34 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org C1569606A323 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=o2.pl Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=o2.pl Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=o2.pl header.i=@o2.pl header.a=rsa-sha256 header.s=s20261001 header.b=F+aVCR5W Received: (wp-smtpd smtp.tlen.pl 8488 invoked from network); 15 Nov 2026 22:41:26 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=o2.pl; s=s20261001; t=1794778886; bh=EX/WMz4K9+MmwON2KxDxCyPiS2fPCwq6MkZjWtu8Bxs=; h=From:To:Cc:Subject; b=F+aVCR5WEgfGfW4Hx/2FONXc0DcjhxOXc497DRK+dEVu2KBhQMvx7dlduIpCdFR2y 01soBL3a6l78QIt5h+GfHEWbB+u5+5YxbHltabdzRCL3OJRzJsQCowr+Y5xzed4j05 +XuMNgoIznjaAfVobDjSdOYVhfReS2rNKLz9H3vugz8LiK/1cgcDkiOM32GzvcbjfO 2lQkNYSfaF1eABupwQq+f33k1v/cxB+nSHmV4eM+Zo+eByPnweSr7z3uGUQvgct2WO 4HWBT16OS/LKe48NMqkmagh7a7TJc23gJVfESz/WKXhEUE4ZV/VI8oKtSsfE6EJCpV uRZoty0rIv1QA== Received: from localhost.localdomain (apn-78-30-67-84.dynamic.gprs.plus.pl [78.30.67.84]) (envelope-sender ) by smtp.tlen.pl (WP-SMTPD) with SMTP for ; 15 Nov 2026 22:41:26 +0100 From: =?UTF-8?q?Mateusz=20Jo=C5=84czyk?= To: Andrew Lunn , Javen Xu Cc: Heiner Kallweit , Russell King , Jakub Kicinski , Maxime Chevallier , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, =?UTF-8?q?Mateusz=20Jo=C5=84czyk?= , stable@vger.kernel.org Subject: [PATCH] net: phy: realtek: fix listing of sysfs directory tree Date: Sun, 15 Nov 2026 22:40:45 +0100 Message-ID: <20261115214045.3704-1-mat.jonczyk@o2.pl> X-Mailer: git-send-email 2.47.3 X-Mailing-List: netdev@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-WP-MailID: df77d61d8830132bd5de278ca3bd0916 X-WP-AV: skaner antywirusowy Poczty o2 X-WP-SPAM: NO 000000B [ATMk] 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 --- 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