Article View: linux.kernel.netdev
Article #10296Re: [PATCH] net: ethernet: sunplus: spl2sw: release the port node in probe
From: Krzysztof Kozlowski
Date: Tue, 03 Nov 2026 11:11
Date: Tue, 03 Nov 2026 11:11
57 lines
9943 bytes
9943 bytes
On Tue, 03 Nov 2026 10:28:52 +0000, Wentao Liang wrote:
> spl2sw_get_eth_child_node() returns a device node reference obtained
> from for_each_child_of_node(), so the caller must drop it with
> of_node_put(). spl2sw_probe() never does, leaking one reference per
> port on both the success and the error paths.
>
> Drop the reference once the node is no longer needed and on the early
> continue paths.
>
> Fixes: fd3040b9394c ("net: ethernet: Add driver for Sunplus SP7021")
> 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/sunplus/spl2sw_driver.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
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-shiny-terrific-husky-6ab367@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-355513-linux-kernel-netdev=dewy.ruReferences:
<20261103102852.1340500-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-355513-linux-kernel-netdev=dewy.ru From: krzk@kernel.org (Krzysztof Kozlowski) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH] net: ethernet: sunplus: spl2sw: release the port node in probe Date: Tue, 3 Nov 2026 12:11:09 +0100 Organization: Usenet Network Message-ID: <20261103-shiny-terrific-husky-6ab367@quoll> References: <20261103102852.1340500-1-vulab@iscas.ac.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Injection-Info: usenet.network; logging-data="3158271"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:/UUvj2Ro3QapJEIofp+jpueWkBU= sha256:Br2D6o8ofx5BjYkMHAPsIrjLocLiKhPIpP3QLLvWl9M= sha1:7KF4janzTIh7BVOo5tw20GKy2mk= sha256:K6PWp/T3Swcmp1TYPyC3y1rn2RMlFRpJq3SFmB1dVvE= 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 695AD112848; Tue, 3 Nov 2026 14:51:48 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.501 X-Spam-Status: No, score=-3.501 tagged_above=-9999 required=6.31 tests=[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 c6MZzSXiZ7iD; Tue, 3 Nov 2026 14:51:46 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-355513-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 262981127F4; Tue, 3 Nov 2026 14:51:37 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sto.lore.kernel.org (Postfix) with ESMTP id 9EA0461B01F; Tue, 3 Nov 2026 11:18:31 +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=1793704273; b=vc/T4mHy6XNfmOLMYalM2o4vlwBvWVIMRdf5bOVbCueXiA5eDiX/Li47z62WCEGswG1m /qzKqsJKPxt6Xxgklc537aThoT63zmU0BssSRktlCy3q1gxoOjz5vsvqE033L01aJW5tv t9ukejDHlyY7O90Hb6HUh2RvXcXZcaDZMIoE9cM1mhkVD+hbFV4uGDNXqy1yf7OWPw2jN SAv8+s+yIzU7ThEVY90f3PFC3RbyEJY8T4ogp9uzhrMEB6KGKpXeCE0EFJyW22hzxo1bx ogj+0oQ1iKopjLkGPHA/vayEXmqDzDkvXqsO7LTJJqRkznhLFtzokEmRmdWOnDggrfw== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793704273; 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=2ME5JyCxKMxf/pwrx0ni5cWoaFDGbuwJ8j4UWAQ8Xq8=; b=Qv1rA1gcB+j9UoHnP9Ut8wK7S/2KpZ6mGwEq3/VAEyZal8JOVWWUKBA/tAHP67DLIXi4 0kT6SkZEczpfE1zHohxbBRjYbyoSo7Cx8ZCDfZGsKqP13bZIo1FFfq2aBNgTj7e0pMY6U xalYzQQnvTEt0HinHtCgXlzILYMth+XH3AB1Zx2iH55nBEaOHnVQdFykvhDuvdu3iM2za sXkdnUsNlreCMRRwMkTjtoMXTyKx3q/zdksv645Kpg0zEjqXqSNK9CermocVFZzJEF6da 7nVuJjFPvQ1zi6F2RwqcXoWf3Mp7UstOgoOaaYpu6/7IA8HRf7tXurBMmxNHU6Y3TkQ== 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=KFPsHcTo; 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 8EC43606FAF6; Tue, 3 Nov 2026 11:11:13 +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=KFPsHcTo 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=1793704272; b=3lzTvUMRtwdBcaxXEk3LZ2WVyPEQ++a18vKWzvCWW+LV3gQgZw83/K1Hn+Mxy1athSsT gQ4vusHrhBG7qR6FdByy9PK/PU2a5uyHFMtuCXAbUsHMkFNbsqNXMBj/ymqH0IUYZ0/XX Li0n6hJOOl/eWaRgVdwzrar15b3AL0xKLSbjig8juknJAt3r4lahtKyCeP4lO1MoPS/I0 hZzJwgGhnZtDXv5ctP9BaM6HseOXremlXrNkn0KSTDzQ0xRQ7NJnggRxyYnZP5Un/XQlt v3rJJXsMUvkwMrSc1Y0em0IPBCwWLfc0hXiA0tey0ZiWKKaa2yXY9lfyVAxE6lexzTg== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793704272; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=2ME5JyCxKMxf/pwrx0ni5cWoaFDGbuwJ8j4UWAQ8Xq8=; b=2oY84yG6qduRgVuKV9T8R86tJ6ALrGf8AeS/KY7NdWY5A5ZYUQBxvrpzNR6WUBxUg7nj R7biC4DoPt/LxPv+l3+W6/hsFbo3Adv9NlODqCGqcRTvnfFksdOlP7ENmjHRe2kBgO83s 17CX+KD77+uoUCdHZ2Jeb9C82HnXxQEGM77ZrPrffkrjD3Oo8FdDx6xeEO8DxB+JWp2o3 sN1Ss9FJ7ULZQGN0scfd28FYJK9PiRIQmtgvtkg7kDKeqr6zN4GCiSc1hmX4bYQwC5dKf Tef1oWTRcSjJcrrStFNCpHkeKbHQm9OJf5CgIM4TjdvMbxaAB6B443V5kxlmUxKeqlA== 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=KFPsHcTo; 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 6C4BC60A5BDF; Tue, 3 Nov 2026 11:11:12 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 83E731F0093A; Tue, 3 Nov 2026 11:11:11 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1793704272; bh=2ME5JyCxKMxf/pwrx0ni5cWoaFDGbuwJ8j4UWAQ8Xq8=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=KFPsHcTodsjT8/Aazn7U+epkvhJQACdLgFRsNLL9Gc0JWXy9CCLQkGq6KA1RkjrHr 1JQdQipvPJbBoK2rUEnimqRyX+3DgQ/A724Qlq01V3UrQlaa0xWIOjZauuslIyH0qP /M0E8QmBzW0gtBRsKcGO0CTW/quSiAfjansBSQZPrm+sC8bH6HB6CAXNsyzFwVWyoe iTYhRLNpr9EdTW6f1viDHP5HkUqDG4rBwpUdsiUBlH+wnXTQXvCME+bnBUuepvTFy1 GfZS6hkydKpF/P/bquu6oa7B8HYMP4h1GcxE2ctrK9cGrogrSPNQvwHrJ/Yd4hmT58 wxeg4YsbN28Bw== X-Cc: Jakub Kicinski <kuba@kernel.org>, linux-kernel@vger.kernel.org, Paolo Abeni <pabeni@redhat.com>, stable@vger.kernel.org, netdev@vger.kernel.org, Eric Dumazet <edumazet@kernel.org>, Andrew Lunn <andrew+netdev@lunn.ch>, "David S. Miller" <davem@davemloft.net> 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.1340500-1-vulab@iscas.ac.cn>