🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #10301

Re: [PATCH] net: lan743x: disconnect the PHY when PTP setup fails

#10301
From: Krzysztof Kozlowski
Date: Tue, 03 Nov 2026 11:11
59 lines
10172 bytes
On Tue, 03 Nov 2026 10:28:52 +0000, Wentao Liang wrote:
> lan743x_netdev_open() connects the PHY before opening PTP, but if
> lan743x_ptp_open() fails it jumps to close_mac, which skips
> lan743x_phylink_disconnect(). The reference taken by
> phylink_connect_phy() is then never released, and the PHY stays
> attached to the phylink instance.
> 
> Add a close_phylink label in front of the phylink disconnect, as the
> pre-phylink conversion code did with close_phy, and use it on the
> lan743x_ptp_open() failure path.
> 
> Fixes: a5f199a8d8a0 ("net: lan743x: Migrate phylib to phylink")
> Cc: stable@vger.kernel.org
> Assisted-by: DeepSeek-V4.1-Flash and OpenAI Codex
> Signed-off-by: Wentao Liang <vulab@iscas.ac.cn>
> ---
>  drivers/net/ethernet/microchip/lan743x_main.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 

Multiple things here:
1. Your team ignored completely previous feedback. Multiple times.

2. You use multiple identities with this email address, thus I doubt that we
   speak with an actual person.

3. Your bot does not even bother running checkpatch, right?

4. Nothing of this was reproduced nor tested.

5. Finally, the same feedback:
You sent multiple independent patches, to multiple independent
subsystems. The amount of these patches clearly suggest this was
AI generated and most likely not tested.

More importantly, you sent all this work without properly organizing
relevant patches into patchsets. This makes reviewing difficult
and might cause multiple reviewers to address the same issue.
Replying to the entire set is impossible and requires handling each
patch independently, instead of applying or discarding the set.
Maintainers also won't see the bigger picture of your work. Quite
worrying.

This is on the verge of hostile patch: bomb us with so many
contributions, we won't be able to handle them in efficient manner,
like responding ONCE to ask you to slow down.  Considering all this
is untested and LLM generated, I have even more doubts whether this
should be considered for review.

Please read kernel documentation BEFORE posting more work. It will
explain you how to identify subsystems, how to organize your work per
subsystem (so a patchset grouping multiple patches with a short cover
letter), how to document the issue discovery method and what was
or was not tested.

Best regards,
Krzysztof
Technical Details
Message-ID: <20261103-vengeful-magnificent-sheep-ab33f8@quoll>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-355512-linux-kernel-netdev=dewy.ru
References: <20261103102852.1340530-1-vulab@iscas.ac.cn>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-355512-linux-kernel-netdev=dewy.ru
From: krzk@kernel.org (Krzysztof Kozlowski)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH] net: lan743x: disconnect the PHY when PTP setup fails
Date: Tue, 3 Nov 2026 12:11:06 +0100
Organization: Usenet Network
Message-ID: <20261103-vengeful-magnificent-sheep-ab33f8@quoll>
References: <20261103102852.1340530-1-vulab@iscas.ac.cn>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Injection-Info: usenet.network;
	logging-data="3159312"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:eYpfjd90nFbc+Gck23CQAg3eTig= sha256:b1SRn28UO5I+rNWR/eqv9KFzWab/tpzHHdOsoMvBhSk=
	sha1:bOjaDUzmn/Htqut8xo8xDkvxZDE= sha256:j20/5mXWSfcDFXGYdYAB8XBx0SEWUJYND/wWmEfEaOM=
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 DDE1011284F; Tue,  3 Nov 2026 14:59:58 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.401
X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1,
	DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
	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 (2048-bit key)
	header.d=kernel.org
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 eMaBRsiPpai3;
	Tue,  3 Nov 2026 14:59:56 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-355512-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org
X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
	by mail.dewy.ru (Postfix) with ESMTPS id 14E1A112849; Tue,  3 Nov 2026 14:59:47 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by tor.lore.kernel.org (Postfix) with ESMTP id F0CBC802CB; Tue,  3 Nov 2026 11:19:18 +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=1793704282;
	b=Jryx9yVcGhRHAFqLup16a68NJYo23xD0kRcALoWkNIo9sQHqss7Lme0SQhf3RMqGia8y
	 5+DSBQgKgBQUjngQtv6bZgXpBbQ5dLk+ckbG9HHHIrRBzZGtvwfCd3i8EVAHx3tk2mqXS
	 toHqKiOy+K6ZvlbH1Na5FqSmE+PldAqSu/02sn0lewa5I6NPZcPRtUbSHKz542EWBfC+G
	 Az7TQorQGAuOns7ZwBbrq3BZEgomI2Jed2r3VL3rQVY4TAarHjSPCjp7sbl5TLGWgtjAr
	 Tg8MVVwGsqRAGIyZRPvwiIPYPOjwFkL41cOm38UxGEfGrJYEOmbkFrmCCH4bla0dnkg==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793704282;
	h=X-Original-To:Received:Received:DKIM-Signature: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=FpQlMQJewUjSCH03T+lvF2s4ZsB+JiwT2xWSf8S5qH0=;
	b=v7Vh9FhFvic6IDlVo/3bj6FoFOyZJYYzBPV+CvHbDsYBl8CgUMo1QBcR9VxWZRHQBwNz
	 CoT5JcnN/2kHcsiXhEjP4mFSVJKlO31YaZtNVQTRwCa0+WncVnoFCrHoBVQN0s+UkxzDR
	 qy+zYfHyfMIK1nmiWggLFfEL4blP7xFGia+MesuLB5GKGlQMC/Qssph9WzUvIzMB3k7v8
	 DEu8587VnnBmj+SWTvND3qolr3aG0jZ2AYVa8p0Gu8kPuPjr/5A9Eir60m7UzNRuvjsj8
	 YN82IGiTM8aoz4jao4vaPWfH3n/tGkkKmFFdquct3x3s87EjHrlEv035D54MPpsCtNQ==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=Zvv5nbwW;
	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 4B86A6071BAB;
	Tue,  3 Nov 2026 11:11:22 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=Zvv5nbwW
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1793704269;
	b=HlU1T2EqtIhSY0Ww0367aWJ5Dih9R0JmkWHOekRpRqH/Xcl9VpVSNvACAIa2SlZ9EA8V
	 pq0yscNZucZmDv93vkybg16sP/7yHHQnA9+dT1ClXLb6Pef+UADvduS1tUGM+z6UAUQUa
	 BHpTh9ZRsHX13hBEvTuWE3LJWhp9pyDbe+TCL/RGRcMizC6r4Zmm+YJ36aTINLoZZSRS6
	 v00/XGwUJILzWu4Wndf7kFsyifAzxuWMasvjoTNCAonq7vaHOL5+T64ba6p5nuGtfZOq5
	 JaVvp9jT9uOt0DUpIVFaUJTOtSEwGMbxZq4/hDqZdnaS5lnwY/aEo+SrXk5yw70ONZw==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793704269;
	h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID:
	 References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To;
	bh=FpQlMQJewUjSCH03T+lvF2s4ZsB+JiwT2xWSf8S5qH0=;
	b=ks1ltPOkMhzqDRl+QPqb6wzo/iSHEUa4UPgMZeWHBQ7XT5cl3OuRAzzLhi7ILlzx5DJ7
	 /8OdMCd7dG0ZbK+sxHPVzEJD2U+OS+JfbqTJLPwTvCzsl8U1BRuza4dKoXJSETaK3wpfe
	 N0kCRDM8g+CiRom9+hmOAm9d0lmU5NKStNOnvk3LeP6grstOAlcOOs4fri/jvvDpLCDy2
	 I2HaQwMTXTizJnoCN7mXzhlCUk4JSuzn05oUNd5si902oi0kTm5Zd5zwFttuSGIaL+Xyd
	 yXgG2hLw2Q2p6T31junpQV47akM+vQeKFMAq2wTWZDvnieBRR55k00GnX7shr5g+4pg==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=Zvv5nbwW;
	arc=none smtp.remote-ip=100.103.45.18
X-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 63E8F60A5BC3;
	Tue,  3 Nov 2026 11:11:09 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id ABC181F00A02;
	Tue,  3 Nov 2026 11:11:08 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1793704269;
	bh=FpQlMQJewUjSCH03T+lvF2s4ZsB+JiwT2xWSf8S5qH0=;
	h=Date:From:To:Cc:Subject:References:In-Reply-To;
	b=Zvv5nbwWsLGPZp4Xywj7dxPso9Zy0Ne1ukAjQZIEgJWgEVRMqmop5Xxuj4przbrEs
	 EW1Rgi27HGxlCMg9b9tYc1YSQIf7O6H8UxInj7eYhnqJlCSFr4eFzeld81QvcLEp1I
	 x7WSAvomCJy3JcborHWX1g2jmGN+FnBdvzI+OxnzugZAlMcd+Wn+soMWK4H95AZNcN
	 puFaMaLvgJwfRIzQw63jxRdfoavLXgjGG/WGkgo+y0SECuBpxtRsb+rQJqCg44Ybj5
	 JxZ7lXUPQ1JE2VJSCB7bAiiD0aGFwEWZbHmpnyJ0mQwR7YW5o7g13DEpZDB/1VEJEH
	 4XA3/eGRdJ0tQ==
X-Cc: stable@vger.kernel.org, Jakub Kicinski <kuba@kernel.org>, 
	Bryan Whitehead <bryan.whitehead@microchip.com>, "David S. Miller" <davem@davemloft.net>, 
	linux-kernel@vger.kernel.org, Paolo Abeni <pabeni@redhat.com>, UNGLinuxDriver@microchip.com, 
	netdev@vger.kernel.org, Eric Dumazet <edumazet@kernel.org>, 
	Andrew Lunn <andrew+netdev@lunn.ch>
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: <20261103102852.1340530-1-vulab@iscas.ac.cn>