From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796381255; b=seiWwSu2cZfk4LVSdNeeSiPDg+91ezqMdcZpJz+lqZWMnhUPaszQ+B+hFxH0/F5/MUFj UsZo86Eolq8Fqz3vaHmh1J829CfeG68D5JpCEaQEXS7avsWtVJI+NwltBsFNZhF245iM5 q/MUgmEf2guufbFgFnM7P8/qzIazbWe7OnzLyc4sSRuJ22aojMSCxDgKtl87jzB4BMaDh uzDavnj5cMyYm3EC5+R1iEpyYq4gGHnVdxhq2W++cOo/PJf3YnbBC03OIfc5cvrcaVBof /ims7qeF03cdoBqkLg00EJs2m947cDS1yP5uitsv4Qesi/qi4QL+mShhPE+d0QLhHRg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796381255; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:User-Agent:X-stable:X-Patchwork-Hint: MIME-Version:Content-Type:Content-Transfer-Encoding; bh=joZp0BPW4tQtCkY+cVYGDH8+rCRX2uoLzeYCHMt1N/Y=; b=PxcGZrZxySJoyInOqxGwbNecU8Top7+Izg4dPtgzdArbviQauW4zaLGmVmSBQkAPwxy7 /8oerlAwbO3kmSbLn1G0T+/Q0q+Cr0nLY3LRSgh/5GLC5UI9ypHzU4lxfwa5PPpTumHx3 4Phz8Gb0rkEYojeifISgi60U8jj6pLUCrmNbGMCispsXYc9OXlg6/TpaAWR+RehqIUFr7 ZvlMNPE1Zw1/Yt2OE2neps7HMT/1i1yAkVWBu/5EGt4ypM512rpo13Hzlm1/cXg8fC3TN FWKJgosd5r8XR7t+OGz7akAoDv3HJFVlXNmGgjAPb/2n2rspVy7eFK2Uv9jTALspsgA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=apztLBOm; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B1B38606A332; Fri, 4 Dec 2026 10:47:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=apztLBOm Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2AF011F000CE; Fri, 4 Dec 2026 10:47:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1796381255; bh=joZp0BPW4tQtCkY+cVYGDH8+rCRX2uoLzeYCHMt1N/Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=apztLBOmI0GTLeVXU1BLiLQ2lGzkQIwYHZhYjZbMxNDCGx17QesXCudI8WrOHzcmh Cs0OrxglcnNdUfmB0VnOHhazbC+2dY54cRofz0tRuKEa/WHEQ8sls6h+tv/6iThtUO uN3r6hDw4IPpsGx6CZRpt65pTDhZ/6yfbkDEWYEU= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, =?UTF-8?q?Mateusz=20Jo=C5=84czyk?= , Andrew Lunn , Jakub Kicinski Subject: [PATCH 7.3 627/742] net: phy: realtek: fix listing of sysfs directory tree Date: Fri, 4 Dec 2026 19:08:11 +0900 Message-ID: <20261204100651.757638808@linuxfoundation.org> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261204100635.034361255@linuxfoundation.org> References: <20261204100635.034361255@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore X-Mailing-List: stable@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 7.3-stable review patch. If anyone has any objections, please let me know. ------------------ From: Mateusz Jończyk commit f16d85cd3de9d0c761b74155b4cbe2f20d3dcf80 upstream. 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 Reviewed-by: Andrew Lunn Link: https://patch.msgid.link/20261115214045.3704-1-mat.jonczyk@o2.pl Signed-off-by: Jakub Kicinski Signed-off-by: Greg Kroah-Hartman --- drivers/net/phy/realtek/realtek_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/net/phy/realtek/realtek_main.c +++ b/drivers/net/phy/realtek/realtek_main.c @@ -3402,7 +3402,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,