Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp43330imu; Wed, 21 Nov 2018 15:04:21 -0800 (PST) X-Google-Smtp-Source: AFSGD/XR1RrdORMNKQ2pDhoVYvrJnen+toZQbFOxb596ZWkERm0bXIuIg6akD+emjDbzl7i4IXHO X-Received: by 2002:a63:2784:: with SMTP id n126mr7960066pgn.48.1542841461066; Wed, 21 Nov 2018 15:04:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542841461; cv=none; d=google.com; s=arc-20160816; b=SH/hmVUaemVvjbvvnZh/gHKA0nSpkXrt+plcCP3XSTB+V9KvcDXKmGkrVM94xqwWB/ su7bgXYGJsyYHoiXGxa8zUnGwzDt2l9wOCIMXtygT8f8Fq7MxcbcbymNgDpRUfFxrJ73 2Fn8KXQPS53ikapHSAwTH5u/6ZNDEFI+qDK/U14utIKQ1qBmZxQtkTnUIU14VntjQMIZ SosicN7eimz2E0itKhzEpL+mQvu6JMQb9dE9C/p+ynUAElrgQ/CMce3q0jNIK4euU1e6 aRnUw3ZVicfiFwpr4Yjm2DkF5t1Pk0zMTPRRwMjTQ2xIpAgpbde7ykCcKLuCo+7ShLjT yaFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=jirhvdAgquapO+xi1mE9/o3N6jELaHA9IzCaxNeT70Q=; b=cqJHwwIrFMBl/LE5H6bQLTKFpbgjTbUQLLSo+hAIkykUCcUeaOfeAIy3lIEN+LQexe hf9EYCZrIQWql/tKX9Nq02NaU45vw+wfzI5FbmIjdVLG0Hretw655jBzkrx38P55C0i2 pFWrWwUtURoJGhcceimXt09jPHcxBeyNT5TNs4KYnCJWmdWcGJRG3WdUHOKxDQtM0iJb HjLPwv4uBJabfRENI2omQWYK2iR8Ic071nVgMhCxWtM8tFDXHiZY4WWd8e40OLoRFFFH Hw9mybwDgr37i+TUF7fvHwa/xfEZZIkxTnxwHl1epa+Gd3bZkWM28DnKwI/CBTjStRKO wJbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=QwOLZNhR; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bb4si29387098plb.322.2018.11.21.15.03.28; Wed, 21 Nov 2018 15:04:20 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=QwOLZNhR; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387888AbeKVFnG (ORCPT + 99 others); Thu, 22 Nov 2018 00:43:06 -0500 Received: from mail.kernel.org ([198.145.29.99]:37738 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387767AbeKVFnF (ORCPT ); Thu, 22 Nov 2018 00:43:05 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 350B9214F1; Wed, 21 Nov 2018 19:07:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1542827252; bh=yM9+Rdb+K2C5FjyQi3sbcerHhME+6qlPvH/FPR4kLI4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QwOLZNhRwgaUXfzdbwckzCKpdkmx8wDuylXmRKveCIzBkmzNWpdfPV1x+GUFFNj6h omiNdNQp9f05SUhfOah/12OC46oDs/FUU1L96ggZRxrBLJaEbwcBrw19P2JqMvZzrE pDfn9/dRK1IxsuCJlnaLaXL8V9wijGLjXGW4OBBQ= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, =?UTF-8?q?Holger=20Hoffst=C3=A4tte?= , Andrew Lunn , "David S. Miller" Subject: [PATCH 4.19 31/42] net: phy: realtek: fix RTL8201F sysfs name Date: Wed, 21 Nov 2018 20:06:07 +0100 Message-Id: <20181121183149.325816438@linuxfoundation.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181121183147.869199006@linuxfoundation.org> References: <20181121183147.869199006@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.19-stable review patch. If anyone has any objections, please let me know. ------------------ From: Holger Hoffstätte [ Upstream commit 0432e833191ad4d17b7fc2364941f91dad51db1a ] Since 4.19 the following error in sysfs has appeared when using the r8169 NIC driver: $cd /sys/module/realtek/drivers $ls -l ls: cannot access 'mdio_bus:RTL8201F 10/100Mbps Ethernet': No such file or directory [..garbled dir entries follow..] Apparently the forward slash in "10/100Mbps Ethernet" is interpreted as directory separator that leads nowhere, and was introduced in commit 513588dd44b ("net: phy: realtek: add RTL8201F phy-id and functions"). Fix this by removing the offending slash in the driver name. Other drivers in net/phy seem to have the same problem, but I cannot test/verify them. Fixes: 513588dd44b ("net: phy: realtek: add RTL8201F phy-id and functions") Signed-off-by: Holger Hoffstätte Reviewed-by: Andrew Lunn Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- drivers/net/phy/realtek.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/net/phy/realtek.c +++ b/drivers/net/phy/realtek.c @@ -220,7 +220,7 @@ static struct phy_driver realtek_drvs[] .flags = PHY_HAS_INTERRUPT, }, { .phy_id = 0x001cc816, - .name = "RTL8201F 10/100Mbps Ethernet", + .name = "RTL8201F Fast Ethernet", .phy_id_mask = 0x001fffff, .features = PHY_BASIC_FEATURES, .flags = PHY_HAS_INTERRUPT,