🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #16700

Re: [PATCH net] net: phy: reject non-PHY mdio devices in phy_connect()

#16700
From: Andrew Lunn
Date: Sun, 15 Nov 2026 16:30
7 lines
8354 bytes
> Fixes: a9049e0c513c ("mdio: Add support for mdio drivers.")
> Cc: stable@vger.kernel.org

Who does this bother?

    Andrew
Technical Details
Message-ID: <06c3990a-8f2d-4e8c-931f-6ad77a79a84b@lunn.ch>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-363764-linux-kernel-netdev=dewy.ru
References: <20261115161811.941022-1-zihengw03@163.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-363764-linux-kernel-netdev=dewy.ru
From: andrew@lunn.ch (Andrew Lunn)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net] net: phy: reject non-PHY mdio devices in
 phy_connect()
Date: Sun, 15 Nov 2026 17:30:15 +0100
Organization: Usenet Network
Message-ID: <06c3990a-8f2d-4e8c-931f-6ad77a79a84b@lunn.ch>
References: <20261115161811.941022-1-zihengw03@163.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: usenet.network;
	logging-data="1850403"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:Ttk2Xbja27y5konQEQqCl/WXUvQ= sha256:JAK+7iv4+ePVMxtKbj5AawcUs2KiJMom22hSPFwMQK4=
	sha1:WnrrH3VmEfzefno77bSr73iijzw= sha256:59gxZKY5twb1vbe0ufVeMgXRg3J8cr8pTcrBQdSSrAw=
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 DC1EB114A0E; Sun, 15 Nov 2026 19:30:51 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.051
X-Spam-Status: No, score=-3.051 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] 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 OVw5uqW1lViU;
	Sun, 15 Nov 2026 19:30:47 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-363764-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 sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id E8789114A08; Sun, 15 Nov 2026 19:30:36 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sea.lore.kernel.org (Postfix) with ESMTP id 8EBAC31158; Sun, 15 Nov 2026 16:30:32 +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=1794760231;
	b=g267vdkQwcWsNndWJLfdX16FDqbR3kRy+6C10GdsgPazR2uG1w081p9idpCfO9VQnzHW
	 8WiwW+D2ffVPbwyDPctbFCTVblrQJpklRr5dsbMzih0O4EVwXhhGS+/DIjfWK10kZfeHv
	 XvOMPumDZtuiQY08q4aHaS9CuriLhH8Jesvmp2nJn/Xpr70BJm/R1XR2is00+Aq8w1Mqe
	 o1Cl/4/D6x0PRouX0qBf+G8s2BUbPwmKXWJAW95u6ZBdrTTgTaogr0jKRHwUBQX4kdx/h
	 /2hh7RFbecg2ZWLkPMyku9DN5ue3PojWOVq7dWi/7ms5L1/WnldmvukPOOjzSjzFZmg==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794760231;
	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=PRfMstXhdcPzzvK7D8pz3OXvYeTvk21pS0iDoNRxa/4=;
	b=XJpmQrdhJwO4Nw4PBKLt4iMSGi9PJ2M69nd8KdrnD+HOIWOwsizeM3oW2pO+W+xoaFeZ
	 PWaeK3Z/v+wD8HGj8uDdzKHRUkkKaDjzwCkDQhItfSRxJMadlr3Le8KyMD6yHE6Hd9q0t
	 FExt+f/G0kfUymeXvfa4Qi/1pz4TEG69Voo9FwXNp3z4A20HYieSPvd+EQ1Xs4okVbFvw
	 IF0QfMtWJtoyscH/SQxO/eYjIOtwXZtmy6aWueA9LGzhnUZqY9qtyJlBoLoJ9PfLhRRlS
	 fIYDsIvgKF9GpW/Ed7Oqb/rIXxrupMS85n9lXRoIHN3iZP+PD/YnStsL3pDD0pGYNUQ==
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=py1VCyc6;
	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 B51BC606A32F;
	Sun, 15 Nov 2026 16:30:31 +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=py1VCyc6
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=1794760230;
	b=ppFbreM/95800Vio2yknnunZHJ1pwduGrZvqAar4u2+19iQnELN2tBs0yBqvK50rnhv8
	 Az4yQy/tBT7RdQt2jRc22Lvc8rJ288Ut+rUN55fo+/C9BAYXOmaUEtlaDn48PVLDy4nBC
	 wCehOnIYPzhp6i+8Kmvj+LnItzCQYlujflxFS+GpeTfAu81PiapHzlJYC2MO/BKwtaZbE
	 t/dz5PuVcGnLLo4OjOr04bPcjPJK5Qe/9Y3gj0RYCssS2N6NE/cz89OlAlTEXn//hWMSi
	 4JGr7drWkqSxUDv37zwSftHzTSq0lOUsR4zdmyGXKg/7D8hNYZijIU3bHbwBs/EKLXA==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794760230;
	h=DMARC-Filter:DKIM-Signature:Received:Date:From:To:Cc:Subject:
	 Message-ID:References:MIME-Version:Content-Type:Content-Disposition:
	 In-Reply-To;
	bh=PRfMstXhdcPzzvK7D8pz3OXvYeTvk21pS0iDoNRxa/4=;
	b=I/QsIqDinJAEOJhGYqnS4DTAsh+1ly1mNEaIy3ybCDR83/wqUwSFbWCvGxv9q/fluwDh
	 Z02eo6MRPfg5VAZStVOZe5J4BheKsccNwwpertCIjr3jIaVvo2KSSlBX6m2T1K5dpHcjH
	 y05pVQ0MQatxqDwwp8I4Y+lpUfktxDhq1Yjx2VjoNm5UC2J/2wcXJh3LRZqoEuhIAEn9D
	 WcGNqEU09nthLctyf6LTgSnixaH/QxHmrvtH3MnfIEGdyF//3zUAMSC6beAj3nVUi8Rhc
	 vszh2GfMw4m25k5dwTY7z/SW7fHwTgDPmX5qE50FxWPuP1bgO5hKfNW6yM9zsD9Oxbw==
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=py1VCyc6;
	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 71D1A606A31E;
	Sun, 15 Nov 2026 16:30:30 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 71D1A606A31E
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=PRfMstXhdcPzzvK7D8pz3OXvYeTvk21pS0iDoNRxa/4=; b=py1VCyc6VJVO40Q1mJxxlwgAeg
	EdABDWYqicuuJqBugByltKdCTWQMeM0MnRJstGnSanlNeltTxNFb/M9X1jH7zR+9AYbp66triwCsK
	bA6yR7qFvBgwRX6HHfNFBavw8AMutt8fwQ1pnJVulo+AmfuLkxrTTs8kPVRJJGd/wL7k=;
X-Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2)
	(envelope-from <andrew@lunn.ch>)
	id 1xSd7P-00Gdkr-2r; Sun, 15 Nov 2026 17:30:15 +0100
X-Cc: Heiner Kallweit <hkallweit1@gmail.com>,
	Russell King <linux@armlinux.org.uk>,
	"David S . Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@kernel.org>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
	stable@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: <20261115161811.941022-1-zihengw03@163.com>