Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp7278538imu; Wed, 14 Nov 2018 14:45:00 -0800 (PST) X-Google-Smtp-Source: AJdET5fkQeBAkkN8UfhhI8Mp6oY5zkmjkETPYVP3VYC2OxvYVhw43QQW2i8+fY/rH7krfCaNpZfa X-Received: by 2002:a62:3241:: with SMTP id y62-v6mr3892152pfy.218.1542235500789; Wed, 14 Nov 2018 14:45:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542235500; cv=none; d=google.com; s=arc-20160816; b=jEYDDXjp/fiaL/CjZIicb8M6XOXenjVlfJgYkashnX6kzXXz8FT1tpRgQnffs3Zqh2 FY2PTmzYRoBa7DWwymimGAn6gRG/77JmzlFzBG1PVDn0ECOwd8g3b01uoTnCUZW9bWsm RK4J+E5kxWpvqMOr5FTwecqvk/qusZK076sX8iZwoJnlCQhdOm5+jM97beCFfgnyuuaS 8hfWnNvGm90+1nbKURzaL46Yd4bSsWng5325hTnhduOI4knozLu7cBQCoUmhhVUwndMZ 8srR59IXce2CWoUj/y8pXFf1Wa7iilfD9xniTUAJlC1do+f7hk9KII6TyYQWKUmq5G8t Ojtw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=105LcTr5aQjdm1J1vjcCS/faYf+KhGzaOoJBPrr7ZXc=; b=fQDQZwnc+FDtEAp3GNWKtPFStyMBNEnAV63H+fiXxopUjQydwnXfUSgaVJ/hWtvkTQ PWy20N+vmMexAtELmRu9quXgzzDt2IyTiARbmxA8296xlETHjD8zSyfrah+pj8YiRtQa ShSkhXBRp9CxFU8GXJyxwUvxDuDQs0sz39U3Wzm6jfGYyDTIRYdmrybchG5HedeE+T3o Cjp5ojtdHPcFps9+29UKTP4iKyKsCVB+yffyWqyUn7KFRCYKR6GqGZ1SKyf7B2/xaRgW XTfPTW1QLotuDoovqclZ0/OqELR5uKySUQb5yU+mr26ZjD5mxa0xZhixjdK1yZHfQpqL nU5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Fr0701My; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n26-v6si26140437pfe.218.2018.11.14.14.44.46; Wed, 14 Nov 2018 14:45:00 -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=Fr0701My; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388147AbeKOItI (ORCPT + 99 others); Thu, 15 Nov 2018 03:49:08 -0500 Received: from mail.kernel.org ([198.145.29.99]:34416 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728556AbeKOI1S (ORCPT ); Thu, 15 Nov 2018 03:27:18 -0500 Received: from sasha-vm.mshome.net (unknown [64.114.255.114]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 5B96F22513; Wed, 14 Nov 2018 22:22:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1542234135; bh=/GjJbxXY2PF+II1TwvnBfr1vR9hWy7TvKGclXlQKzf8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Fr0701MyvIadXCAkX2XURM+wvdvCMgs2UZHI+OmcbqvR9nqIsLhpJMRBA/yhb9IX2 mVkzCuFgqWZxFA2hWUZRt8j5RnvZq8LkAsPMbJnwb/REetdkpLSAkaR/x2gZGXaAPU d3IgTD8CM+IOO1xlNtzdg7J9iSgnAM52UWVaxtMw= From: Sasha Levin To: stable@vger.kernel.org, linux-kernel@vger.kernel.org Cc: =?UTF-8?q?Holger=20Hoffst=C3=A4tte?= , "David S . Miller" , Sasha Levin Subject: [PATCH AUTOSEL 4.19 29/73] net: phy: realtek: fix RTL8201F sysfs name Date: Wed, 14 Nov 2018 17:21:23 -0500 Message-Id: <20181114222207.98701-29-sashal@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181114222207.98701-1-sashal@kernel.org> References: <20181114222207.98701-1-sashal@kernel.org> 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 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: Sasha Levin --- drivers/net/phy/realtek.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/phy/realtek.c b/drivers/net/phy/realtek.c index 7fc8508b5231..271e8adc39f1 100644 --- 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, -- 2.17.1