Article View: linux.kernel.netdev
Article #1075Re: [PATCH] net: mdio: mdio-mux: fix device_node reference leak on success
From: Krzysztof Kozlowski
Date: Fri, 09 Oct 2026 06:10
Date: Fri, 09 Oct 2026 06:10
55 lines
7743 bytes
7743 bytes
On Fri, 09 Oct 2026 01:56:12 +0800, Haotian Zhang wrote:
> mdio_mux_init() obtains a reference to the parent bus device_node with
> of_parse_phandle() when no mux_bus is passed in. All error paths release
> it through err_parent_bus, but the success path at the end of the
> function returns without calling of_node_put(). of_mdio_find_bus() only
> takes a reference to the embedded struct device, so the device_node
> reference is leaked for every multiplexer that probes successfully.
>
> Release parent_bus_node before returning from the success path.
>
> Fixes: 0ca2997d1452 ("netdev/of/phy: Add MDIO bus multiplexer support.")
> Assisted-by: DeepSeek-V4.1-Flash
> Signed-off-by: Haotian Zhang <vulab@iscas.ac.cn>
> ---
> drivers/net/mdio/mdio-mux.c | 1 +
> 1 file changed, 1 insertion(+)
>
Multiple things here:
1. Your team ignored completely previous feedback.
2. You use multiple identities with this email, thus I actually doubt we speak
with actual person.
3. Finally, 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 usage of LLM and how what you should not do
if this was posted in a good faith.
Best regards,
Krzysztof
Technical Details
Message-ID:
<20261009-narwhal-of-unnatural-shopping-7dfa7c@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-343469-linux-kernel-netdev=dewy.ruReferences:
<20261008175612.2748920-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-343469-linux-kernel-netdev=dewy.ru From: krzk@kernel.org (Krzysztof Kozlowski) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH] net: mdio: mdio-mux: fix device_node reference leak on success Date: Fri, 9 Oct 2026 08:10:49 +0200 Organization: Usenet Network Message-ID: <20261009-narwhal-of-unnatural-shopping-7dfa7c@quoll> References: <20261008175612.2748920-1-vulab@iscas.ac.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Injection-Info: usenet.network; logging-data="1044707"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:YBHJNCX8zjFYRXb3nRvUWz2DlAQ= sha256:nKpbfN5B0zmP37TCl3sIZl3DPYGhp1wQFLb2D1rJ/xs= sha1:Qvn9VuVrX0njnzmrz6klSRj3Ak4= sha256:PdA57l3+mD4u0ohpHNfQ6uw5HrNpOi0u4p28hPI7kAY= 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 DB32F10F5DA; Fri, 9 Oct 2026 09:12:25 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -1.441 X-Spam-Status: No, score=-1.441 tagged_above=-9999 required=6.31 tests=[DKIMWL_WL_HIGH=-0.241, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MAILING_LIST_MULTI=-1, 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 S_YYruAZZBb9; Fri, 9 Oct 2026 09:12:18 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-343469-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 sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74]) by mail.dewy.ru (Postfix) with ESMTPS id 60DFF10F5B8; Fri, 9 Oct 2026 09:12:14 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by sto.lore.kernel.org (Postfix) with ESMTP id A688860A450; Fri, 9 Oct 2026 06:11:13 +0000 (UTC) X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E58FC3F23A6; Fri, 9 Oct 2026 06:10:53 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="mEFPiUoo" X-Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6D5FC4279FE; Fri, 9 Oct 2026 06:10:52 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791526253; cv=none; b=uPfsAeo49sJxjOUW/i4z97p3iTBRF1tsPiiW7Fpb+hMBBEgDRl2GPhPVxhtc/VqbiHugjYnqIGbZuEGaJGq6+DWMJOXCTq0FFhZr+VQKStU8wAXck9A576uMuEvixNEPnPRC4UiyGeMdQrRjKCFbAIye45cwYPzlvDD+duyxec4= X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791526253; c=relaxed/simple; bh=JsKn0W6V7DyjIbmw/qt1dkI3v6Snv+d4FND9/dAuNAA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Ied1V6tJW1jdkYhFbl+JVVBcDUR/w75FQ+BbtsBkmak9wX7fa9wD9NqsyE0PNhPrW1fxbsq2or97rjCQM2UcTLhczMQi60jAUJDjGeeWS/SfKYWdAx9H1h9RywWUW/gc2SynCJzFUSAHoTWJpdil/NGCTvLiGQctDppx5O3hf8c= X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=mEFPiUoo; arc=none smtp.client-ip=100.103.45.18 X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 23D211F00898; Fri, 9 Oct 2026 06:10:50 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1791526251; bh=jeMjLgvkM8NXuE64fpizt11DP2l7PUI8HIjgpZhg86c=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=mEFPiUoo0HDXDa8cjlKiaenJJUkobMyYTGISHLrH6r7jvPzzRa5i+C4BD1c79aJU/ lG6N7tEk/EoFuaqiH2eGAxzK51KptjifgrAUjuQXnfnDYTto0IhooUACaMb01GSU3I NXZhluNGAUJw25+CIC/TRVYehWaRtSITKOD285Tzlt//exz7c/wVWT6Vc9+e4Ti+z6 FUh3HWs8jRFjd2zxtPZR0UqeiM7/SP5Lr8+s+mLePkdkGSMC/3M87YYYK24vdQSB2J Qfvy3OwUG7uSUjkKPZsUFVHtTL11FVAytDFacsKNY6jfepRCKL4FiOp4NSOeiekxRO UJoqveA5k272g== X-Cc: David Daney <david.daney@cavium.com>, Paolo Abeni <pabeni@redhat.com>, Andrew Lunn <andrew@lunn.ch>, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Eric Dumazet <edumazet@google.com>, Heiner Kallweit <hkallweit1@gmail.com>, Russell King <linux@armlinux.org.uk>, Jakub Kicinski <kuba@kernel.org>, "David S. Miller" <davem@davemloft.net> X-Precedence: bulk X-Mailing-List: netdev@vger.kernel.org X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-In-Reply-To: <20261008175612.2748920-1-vulab@iscas.ac.cn>