🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #19506

Re: [PATCH net-next] net: stmmac: dwmac-rk: split gmac_clk_enable into enable/disable

#19506
From: patchwork-bot+netdevbpf
Date: Fri, 20 Nov 2026 00:30
28 lines
8805 bytes
Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Wed, 18 Nov 2026 02:25:03 +0800 you wrote:
> As the great Linus Torvalds once said in
> Documentation/process/coding-style.rst:
> 
>   "If you need more than 3 levels of indentation, you're screwed anyway,
>    and should fix your program."
> 
> The gmac_clk_enable() function previously used a 'bool enable' parameter
> to handle both clock enabling and disabling. This resulted in deeply
> nested if/else blocks, which made the error handling and rollback paths
> cumbersome and prone to bugs.
> 
> [...]

Here is the summary with links:
  - [net-next] net: stmmac: dwmac-rk: split gmac_clk_enable into enable/disable
    https://git.kernel.org/netdev/net-next/c/bb7cdcfc80a9

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179513461002.3945374.16377819686637031916.git-patchwork-notify@kernel.org>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-367481-linux-kernel-netdev=dewy.ru
References: <20261117182502.3045841-2-coiaprant@gmail.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-367481-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next] net: stmmac: dwmac-rk: split gmac_clk_enable
 into
 enable/disable
Date: Fri, 20 Nov 2026 00:30:10 +0000
Organization: Usenet Network
Message-ID: <179513461002.3945374.16377819686637031916.git-patchwork-notify@kernel.org>
References: <20261117182502.3045841-2-coiaprant@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="3021022"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:8VuuZ00+Vd6IWFW+nl3aZlnjJfc= sha256:Rt75vGt/gCLQlWjbc+jBzPSZc2CNnQRkh9v1eJYvQYM=
	sha1:ODrCLPxNWd5iFVtw9yVW6WOvv3U= sha256:N3UtyWFu4odISB7+C5HNydMuDVpyqJEGeA0U4bUJMec=
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 A21A3115835; Fri, 20 Nov 2026 03:30:30 +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 mWChKqn4U2XO;
	Fri, 20 Nov 2026 03:30:27 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-367481-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 sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id C72761157A5; Fri, 20 Nov 2026 03:30:18 +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 65410164835; Fri, 20 Nov 2026 00:30:14 +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=1795134612;
	b=0n16eew7U8YDAveJ+YoKEL7hMttXZlV2mXV5Svv45Z7r3WNRxxZEyGFti5yPdlCtkHgK
	 /7p/Ef2GZNAkefvpvnQ8An3Tbnt8gquCfxikLcFUuSWhB9XBdRhTowNG4bomUkMlE6ncr
	 INqIyavMHCFSOXcmXBOxc7Th111TUK1CT39Wn+k9Ss8EsFKY1fPCAXtgZJNsewcQZepjI
	 QfnFCRjqm34JkS90TWk3xn5RqPYk01TrUezbKFPPsFYAG4ozlQTG+Dz5ucq2q0Rg3VL61
	 /TmUBQX+9OGltab7U4zJHv24H183YvlQPNSKs7i9EooKM7YqAZlkIeP+pQDp4BH9RSg==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795134612;
	h=X-Original-To:Received:Received:DKIM-Signature:Received:Content-Type:
	 X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=9xP4xwcK5kOcRn7SAoxwRpEUwmKNR21ZDqqlTDsiBdY=;
	b=TFUJnDBQw2pCvJyznZ+dohax3Dpji9tJ77qUYYdw67i2MHr4c/Ojz9drfhjeUOXgUkjN
	 lL1WH2kZwiZDT/tEsn+OPUdKA2JJGB0rEEd3UvJl5awceOSMs3gS2fNuS2UovMLEOuDFt
	 NB95pU3BrrGhlzXuRH/KiELngFz42xQq9Tdy3BKX8d2S5ZGCUpzSZwbSQ8OUXnz30to/r
	 57926McCRek+XELAM+ZzWZYtbYSt4SHESkXc6HTdwjqGbGPF2A2ZWfG/lzlujwneaBx6Q
	 XYFQkpE69R+ev7YWGFzq0T9BE1Zx6hp5XCqRx0U07WTzHsy5+OeDHbTQ1vCuHuBbg0w==
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="g/elI8+n";
	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 BA95A60A2601;
	Fri, 20 Nov 2026 00:30:12 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=g/elI8+n
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=1795134611;
	b=T4ZB2QPwMD5uwD7DMa3bbxRYa3LT9jHLgrt9QOTaYM7wOb+rk0mg2zFAHpfRVX8WVQ3w
	 joFmuYtHBxs+VJsmQ6ZHAqrfmIsEHuT3q0cYhgS9q/Q8HzlV3GI6BXxmxlQnH/cw09cvP
	 dD5xiiF7Nc4IGB4facTSqTV5C2jo7Wm61rqFXkpGbugkOf0R/sqxciMTlyAZE+XeSzu7S
	 L7vXysUsGlp0dEt5Ebda7YZAYd7dz0dDn6g/fuKQGGH1xqiGYkWmx+Ag5f9ZKUVeaADUe
	 xMB48sf8Arx0k3rw5+qrU8AWjBc6bNV/oGjt9nGa8ZSZGf69MGrRL/QO6Lo6lh6O3GA==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795134611;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=9xP4xwcK5kOcRn7SAoxwRpEUwmKNR21ZDqqlTDsiBdY=;
	b=eWRFbLP7B1LQ5Kop07TFr37ffsTzm4iQ0P1/JRlwxs3HVOPq9y9TtFaSmooIiTUqkMRn
	 ONVjnwW0kZ1LVfr4EZQDnr1D1xujZ9/qTUWRVAgPG6Txq3IUzZJy4M61pEc1P2uYIIn4W
	 jPQLNQNFHM0w3xMUWoLUQlRisIFtE/IXD/oXZCB6yV+b3L2VyL2QkaCiPmkhi9Xm3x/5q
	 xQO/L4Axwl4K1MO1E9b84SoXZioniz7RhQE1zQ0wov7UodgNGuei+ScAGHI3i4D3ef/5R
	 VMSpP1UqvDJ2/aIt6hKRccHiYKdV6oKzI0A91FmFGENhBn5X4DuT4ldBCBRhnm7GLsQ==
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="g/elI8+n";
	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 DCA26606A334;
	Fri, 20 Nov 2026 00:30:11 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 813CB1F000D1;
	Fri, 20 Nov 2026 00:30:11 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1795134611;
	bh=9xP4xwcK5kOcRn7SAoxwRpEUwmKNR21ZDqqlTDsiBdY=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=g/elI8+nKNyMWS+xkiZqihaJAir7sWz+scHfjVq6NDxoVjUSeA6WPR+bwq4efDHsb
	 fF6H7ArIuLQQDfZPeih8lIEPVF9y5+ZOs7pPyUPC6rH+6OMo/Ghlik7jih2FG4GUXH
	 8JZTTmQejrM7D+A/l6RFnSarM55LC9IgtnyzPGHVuY+8V7Qyf+0fLXVxsHbgfSmatY
	 4V6bQEH/pMyx921mVa8OGFUSjQpJia63f+QAQ3qIcdaqrmK2tDkX1ysDXWDcwXYS5l
	 cr/tzvtw6HDRKDB9a3NWOvno1n4TjWiVR+ohgwKRs1YTkDwSNypSsLyX2ZupAz17dD
	 ciwHOus8aVdYQ==
X-Received: from [10.30.226.235] (localhost [IPv6:::1])
	by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 7740D3808209;
	Fri, 20 Nov 2026 00:30:11 +0000 (UTC)
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: <20261117182502.3045841-2-coiaprant@gmail.com>
X-Cc: kuba@kernel.org, pabeni@redhat.com, andrew+netdev@lunn.ch,
 heiko@sntech.de, netdev@vger.kernel.org, linux-rockchip@lists.infradead.org,
 linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org