Article View: linux.kernel.netdev
Article #16463Re: [PATCH net 2/2] net: usb: smsc95xx: propagate MDIO write errors
From: Andrew Lunn
Date: Sat, 14 Nov 2026 22:10
Date: Sat, 14 Nov 2026 22:10
12 lines
8706 bytes
8706 bytes
> Return the error from the helper and propagate it through the
> MDIO bus callback. Continue treating -ENODEV as success during
> device disconnect, consistent with the MDIO read path.
This is logically two different things, so should be two patches.
> Fixes: 05b35e7eb9a1 ("smsc95xx: add phylib support")
net-next.
Andrew
Technical Details
Message-ID:
<8513f7d0-eab3-4288-a097-ecb4e6c69ee2@lunn.ch>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-363473-linux-kernel-netdev=dewy.ruReferences:
<20261114050954.275495-1-artem122novak@gmail.com> <20261114050954.275495-3-artem122novak@gmail.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-363473-linux-kernel-netdev=dewy.ru From: andrew@lunn.ch (Andrew Lunn) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net 2/2] net: usb: smsc95xx: propagate MDIO write errors Date: Sat, 14 Nov 2026 23:10:23 +0100 Organization: Usenet Network Message-ID: <8513f7d0-eab3-4288-a097-ecb4e6c69ee2@lunn.ch> References: <20261114050954.275495-1-artem122novak@gmail.com> <20261114050954.275495-3-artem122novak@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: usenet.network; logging-data="1674635"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:NAo/249Hyoe7eynhd6ZgeC5IWAI= sha256:T1vKnTsb210IwuY49Su/om9dJD+6iTVrp/WFRkNYk7g= sha1:sREsX8wEo6IjgDfq6m7pE4s/OWI= sha256:PRjOG9tbI/+Hswlk/hbLbU2bzXvIy81JjPKcdK1euQU= Content-Disposition: inline List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id F31F61148F2; Sun, 15 Nov 2026 01:10:57 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.05 X-Spam-Status: No, score=-3.05 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (1024-bit key) header.d=lunn.ch X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id x_rrm9SnoAnK; Sun, 15 Nov 2026 01:10:54 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-363473-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=lunn.ch X-Received: from sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4]) by mail.dewy.ru (Postfix) with ESMTPS id 9CCD01148EB; Sun, 15 Nov 2026 01:10:45 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sin.lore.kernel.org (Postfix) with ESMTP id CE5A5312A3; Sat, 14 Nov 2026 22:10:37 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1794694234; b=iItitl4JM5RMfhVTPMxXf0OS+/H6tKfmflDDXFHNlX9GnITfgOH+gfwAxCEQ1IryNhks LGS+/P4R9owIpOWDaua5ILijp2lmDMhtOItEL0E648V+RZVL3CJ8/Ik1ORSTVm6t/O3Nx 33ZlsCoIbMacPwj4A23GupMgD2/PJh1q10pqOqTM1t57JKY+yt0nZp5a2aeKKN51W8Q1I 6x8oiKfqm/aC0Ki5pm9o37uKJ78/+noyNNdEJrHFuRTYuKOtMXkwPQAFDLuuA/JgL7no3 VHsYQVf5VfzqpX2Iw9FDpKEpxqJL+FH2ZR4mdNZuwGuh0KbF1WdqAssF3DnjrhM1kQQ== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794694234; h=X-Original-To:Received:DMARC-Filter:DKIM-Signature:Received:Date: From:To:Cc:Subject:Message-ID:References:X-Mailing-List:List-Id: List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner: Precedence:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=X/twDhjj+yg5LTImuxRYAzCbS0loCijLCJDG1B3UM7w=; b=Qa34c9EVrKhz9oNtWfc9OmILjJDGbw6nPeSZW6Y3Pe1RaGLYoMEod9ctENdE+GCPvIZp 9VLzUgriaQTdhSuUY+KwIisE+0xBfkXHoOtF7Ujl934x87CqNGZYq1zvpt1Xlk2serY2l mgU21Xcq29wxHcWRwhUavkmd3llwo0QaHfLEHbH7XhBWeKWp7das/rA8Mkc4R48yTsgLR XC2wJLJ6QwjZ4DQVu9uHhx6x8/8+bcYo2uRI2D3NJKQnH7Xj0SJfbjtMCJ+i7ooArA/5w OcevdlBdeKA1iDBdBBPd1o5LWu4XPQNzwyd1LF8HNS8/RkgLohJMbESnKVPZypscIoQ== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=XGZ+TCna; dmarc=pass header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F1CA6606A334; Sat, 14 Nov 2026 22:10:33 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=XGZ+TCna X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=156.67.10.101 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1794694233; b=Xm3RqLdFf8vh4EUaW/5yD7xcwwg951YWyXqtLYXum44A8Wd6BgpaayT1u3wtfMA+Alo9 y1FZh9LCv7zdQtmgajIf5OiwNcA/+V9FMKrYUvbUux3Z/JD2lf2Rsfkp716BoTdhzOZ2a 3KwP0zO2OH2VHlk51SjONJ2LbVCJihVRrcYledlwME/3CoFZeCzHTBsQ3zVJbCbvGbz/c /tLL4Tmgfw5gbYUG+FrnMzJXKIgPe1Q/itDQNhyOKIQWZBV4JAw3wHprFFTCtZfaBWpGX teOx7skns+F/Zm9jqinGrBhBS6KFI4zimgVjh8qL3yuGvC9xj7jryHyJD8I4YX1WMOA== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794694233; h=DMARC-Filter:DKIM-Signature:Received:Date:From:To:Cc:Subject: Message-ID:References:MIME-Version:Content-Type:Content-Disposition: In-Reply-To; bh=X/twDhjj+yg5LTImuxRYAzCbS0loCijLCJDG1B3UM7w=; b=UCl2TIcdVXoWbt1JfDL+SmZrlHn1YH1+D/CnoB8fzS81piYWeXxDVSLcvL2WygZJ00p7 qrjFX+SOqwxL/79RicJkH4mNSrn1OIduj68qNxNf3n2973AlHpQ8n6mHxxq1FOta2o1je 6muJ5h1KuAbbrtxmVLejzoBGqP8TIAdccLUob6DOEEwgd31ldFQzJC3dSfGeM0o1VYbpf WNt6wXXP2j6Vv6DRdIwgFEq/Nt43FuJ0+jmrFeydoybRbX48wPG0jC4EUkvo2KvDZBTi1 /5NyweaDePnvwvQ8lVPi0Cb5CZBprqkKfkjg7eLhVdguo6RdUz1oR7QDzZBjNyXp5Zw== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; dkim=pass header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=XGZ+TCna; arc=none smtp.remote-ip=156.67.10.101 X-Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CD6BD606A331; Sat, 14 Nov 2026 22:10:32 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org CD6BD606A331 X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch X-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=X/twDhjj+yg5LTImuxRYAzCbS0loCijLCJDG1B3UM7w=; b=XGZ+TCnaZBHqOE1ClTlSrdMD5P cx7y5N+/BG0kQt5TfDbeC9sqVh01JTCEax0Re3bgQRabM3vsZ648+dCo1z8CAhgbEn/E4gqQwI1PP PJUN7rRoBp/zPal7oVtReCVbfFMc5h4x4UJta+nob4FfQ4VQmTs/FtwaaLpj7igFMbuI=; X-Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from <andrew@lunn.ch>) id 1xSLx1-00GXdT-N3; Sat, 14 Nov 2026 23:10:23 +0100 X-Cc: Steve Glendinning <steve.glendinning@shawell.net>, UNGLinuxDriver@microchip.com, Andrew Lunn <andrew+netdev@lunn.ch>, "David S . Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@kernel.org>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, Alexandru Tachici <alexandru.tachici@analog.com>, Andre Edich <andre.edich@microchip.com>, netdev@vger.kernel.org, linux-usb@vger.kernel.org X-Mailing-List: netdev@vger.kernel.org X-List-Post: <mailto:netdev@vger.kernel.org> X-List-Help: <mailto:netdev+help@vger.kernel.org> X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-List-Owner: <mailto:netdev+owner@vger.kernel.org> X-Precedence: list X-In-Reply-To: <20261114050954.275495-3-artem122novak@gmail.com>