🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #14626

Re: [PATCH v7 00/13] leds: Add support for hardware-initiated hardware control trigger transition

#14626
From: Lee Jones
Date: Wed, 11 Nov 2026 17:36
116 lines
13988 bytes
--- checkpatch.pl (27 issues) ---
Line 1: ERROR: spaces required around that ':' (ctx:VxE)
Line 3: ERROR: spaces required around that ':' (ctx:VxE)
Line 5: ERROR: spaces required around that ':' (ctx:VxE)
Line 7: ERROR: need consistent spacing around '+' (ctx:WxV)
Line 7: ERROR: spaces required around that ':' (ctx:VxE)
Line 10: WARNING: space prohibited between function name and open parenthesis '('
Line 13: WARNING: space prohibited between function name and open parenthesis '('
Line 14: ERROR: spaces required around that ':' (ctx:VxE)
Line 24: ERROR: space required before that '-' (ctx:VxV)
Line 28: ERROR: spaces required around that ':' (ctx:VxE)
Line 29: ERROR: spaces required around that ':' (ctx:VxW)
Line 31: ERROR: spaces required around that ':' (ctx:VxW)
Line 33: ERROR: spaces required around that ':' (ctx:VxW)
Line 35: ERROR: spaces required around that ':' (ctx:VxW)
Line 37: ERROR: spaces required around that ':' (ctx:VxW)
Line 39: ERROR: spaces required around that ':' (ctx:VxW)
Line 41: ERROR: spaces required around that ':' (ctx:VxW)
Line 43: ERROR: spaces required around that ':' (ctx:VxW)
Line 45: ERROR: spaces required around that ':' (ctx:VxW)
Line 47: ERROR: spaces required around that ':' (ctx:VxW)
Line 50: ERROR: space required before that '!' (ctx:VxE)
Line 57: ERROR: trailing whitespace
Line 60: ERROR: trailing whitespace
Line 61: ERROR: trailing whitespace
Line 71: ERROR: trailing whitespace
Line 72: ERROR: trailing whitespace
Line 84: ERROR: spaces required around that '?' (ctx:VxE)
----------------------------------

On Tue, 10 Nov 2026, Ilpo Järvinen wrote:

> On Tue, 10 Nov 2026, Lee Jones wrote:
> 
> > On Mon, 09 Nov 2026, Ilpo Järvinen wrote:
> > 
> > > On Mon, 21 Sep 2026 03:40:14 +0800, Rong Zhang wrote:
> > > 
> > > > Some laptops can tune their keyboard backlight according to ambient
> > > > light sensors (auto mode). This capability is essentially a hardware
> > > > control trigger. Meanwhile, such laptops also offer a shrotcut for
> > > > cycling through brightness levels and auto mode. For example, on
> > > > ThinkBook, pressing Fn+Space ("shortcut") cycles keyboard backlight
> > > > levels in the following sequence:
> > > > 
> > > > [...]
> > > 
> > > Thank you for your contribution, it has been applied to my local
> > > review-ilpo-next branch. Note it will show up in the public
> > > platform-drivers-x86/review-ilpo-next branch only once I've pushed my
> > > local branch there, which might take a while.
> > > 
> > > FYI [if applicable to your patch], as per Linus' policy change, also
> > > fixes are mostly routed through for-next unless the fix is for a
> > > commit introduced in the most recent cycle or is clearly a regression
> > > fix.
> > > 
> > > The list of commits applied:
> > > [01/13] leds: class: Always protect brightness_show() with led_access
> > >         (no commit info)
> > > [02/13] leds: trigger: Move led_trigger_is_hw_controlled() to the right place
> > >         (no commit info)
> > > [03/13] leds: class: Remove hardware control trigger when writing brightness
> > >         (no commit info)
> > > [04/13] leds: trigger: Move led_trigger_group to the right place
> > >         (no commit info)
> > > [05/13] leds: trigger: Add hw_offloaded() callback and provide trigger_may_offload_to_hw attribute
> > >         (no commit info)
> > > [06/13] leds: cros_ec: Implement hw_offloaded() trigger callback
> > >         (no commit info)
> > > [07/13] leds: turris-omnia: Implement hw_offloaded() trigger callback and declare hw_control_trigger
> > >         (no commit info)
> > > [08/13] leds: trigger: netdev: Implement hw_offloaded() callback
> > >         (no commit info)
> > > [09/13] leds: trigger: Enforce strict checks in led_trigger_is_hw_controlled()
> > >         (no commit info)
> > > [10/13] leds: trigger: Add led_trigger_notify_hw_control_changed() interface
> > >         (no commit info)
> > 
> > This is super confusing!
> 
> I know it is but it's how b4 thankyou mails appear.
> 
> > Where does this list come from?
> 
> The list comes from the original series that b4 caches somewhere.
> I deleted the patches 1-10 and only applied mbox that contained patches 
> 11-13.
> 
> When constructing thankyou mail, b4 seems to take the cached list of 
> patches the series had and does not find 1-10 applied into my tree by me 
> so it says (no commit info). The rest appear as expected:
> 
> > > [11/13] platform/x86: ideapad-laptop: Serialize keyboard backlight tracking
> > >         commit: d288a6f989b7b9e6a730140c601987b886af327e
> > > [12/13] platform/x86: ideapad-laptop: Decouple hardware & classdev brightness for keyboard backlight
> > >         commit: 7d6c073d181d7855561831cb4bba17dc9b7d4aa9
> > > [13/13] platform/x86: ideapad-laptop: Fully support auto keyboard backlight
> > >         commit: 5d805ca01382d63d54c9984e7f19922c4ae6f3dc
> 
> Of course it would be much less confusing if it never showed those no 
> commit info entries at all but unfortunately I don't think I can control 
> that, sorry.

Take a look at my reply to the 0th patch.

For some reason my b4 doesn't do this.  It must be an option?

What command do you use?

My assumption is that you omit `b4 am`s `-P` option, so it thinks it's
working on the whole set, rather than just the sub-set?

-- 
Lee Jones
Technical Details
Message-ID: <20261111173659.GD6323@joneslee-macbookpro.roam.internal>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!nntp.comgw.net!eternal-september.org!feeder.eternal-september.org!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-361200-linux-kernel-netdev=dewy.ru
References: <20260921-leds-trigger-hw-changed-v7-0-fe3cdb6dec51@rong.moe> <179425319974.10927.7190572777719580956.b4-ty@b4> <20261110090105.GA6323@joneslee-macbookpro.roam.internal> <b19ef65f-c563-07f8-1be8-9a0a0689da22@linux.intel.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!nntp.comgw.net!eternal-september.org!feeder.eternal-september.org!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-361200-linux-kernel-netdev=dewy.ru
From: lee@kernel.org (Lee Jones)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH v7 00/13] leds: Add support for hardware-initiated
 hardware control trigger transition
Date: Wed, 11 Nov 2026 17:36:59 +0000
Organization: Usenet Network
Message-ID: <20261111173659.GD6323@joneslee-macbookpro.roam.internal>
References: <20260921-leds-trigger-hw-changed-v7-0-fe3cdb6dec51@rong.moe>
 <179425319974.10927.7190572777719580956.b4-ty@b4>
 <20261110090105.GA6323@joneslee-macbookpro.roam.internal>
 <b19ef65f-c563-07f8-1be8-9a0a0689da22@linux.intel.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="903616"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:Q3/+e4R/2rxRn5sHd3tAWsuasAY= sha256:cB6xpsIaLri+LLi4/z3rXaKmzlQV7fEZPQDHHkR7pAQ=
	sha1:TMpnC3k/JVf2bceCjfXPNCYCD8E= sha256:hGUHteAKdMfS5pjN7wAGFixYU1Wm3ks5huq4urSPiIo=
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 0D8ED113F6E; Wed, 11 Nov 2026 20:37:31 +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 BOvzgKjxf5cZ;
	Wed, 11 Nov 2026 20:37:25 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-361200-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 73C57113F6C; Wed, 11 Nov 2026 20:37:17 +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 6339F61AFA0; Wed, 11 Nov 2026 17:37:10 +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=1794418627;
	b=tbx5gryQPuQXI7PMHP9WOO4Z7DyeCH/BW//0KR3d9Xtb9iu/i+UEjew8wCboK1E12MSg
	 w+e0S2L6L1FKDHCg3Tk2Piop4xRFvaNkzmSkHHDt8Ltydxvxi3PC0O3tIojlRCCPs2Frz
	 UbI14pRorC6SERunF/xesHDRdTKD9uy3O8LhQ5p9oZ8oWPeNHGSAF0YNGIE9uICYWZQRK
	 pfYcgbu9Okf734RppVTdKRunn8UUiyR0ntCPZxyScGlO9Tbxtde+UhlO79h2qPI73zjVz
	 aAPA+2ogeeetFdnp3SJKjZSTR1Bry+uGTNLXXG3/sAlWfXnRhEU9l3+BNJQkdnqXwSQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794418627;
	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:
	 Content-Transfer-Encoding:In-Reply-To;
	bh=9YexrO60oS4rlt/r0sleJ/GTAqTd7929wk1Rl5ZS/8I=;
	b=Ngddqr7KzwVpH5Tv2YpVyOvpKbGT13TpAUEj9tlkjv0goSf7vxVIDGNmWLqZHSI4MYbG
	 HtVTPpDcPO243jdQgniMASjqxWlKAB8wBnvWiF2RBQZ8nqMr+JUoxwvy6/nkfKhqTvkDb
	 wAR6kHLCHXKTZs6paqO8gJsoU/+mSlWcDvfc3/nPTPVpMag5U3vU4pGcd9UXL9P9DmZb/
	 RHYrLRAzRAxlLe7Ss7vC6f4EPk553SWHbcPKvBRQ+DQ/fdRR7CJ+6e4qIanvDim5f9Myc
	 gVxlLMdlZl8TWSte6QStaUlEuZ8PmSDGjBB9SU58JX6rwxF9mJatpHiNSlrctJvgsEA==
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=Q9TyrzvW;
	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 34EFD606A335;
	Wed, 11 Nov 2026 17:37:07 +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=Q9TyrzvW
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=1794418626;
	b=0RPeQqXyenQGK+87CUJukTt4GjbyPhz14vVJuy2o6XbNIpQQKvIizZTgz2mNaDZob0VR
	 bA1CNWDopTeonU96plwxT1uiQ8v82TUyOvAkCVPGoivaGF9pNO8AdAoaOGmUVHiRwYBH/
	 Yq+NfqSwGWbccWZfOF7SzlNaqnPZrm/a8EcUr3CE39KupR0iXg1DeexVRuxcSlb2J2hiL
	 qJIfG9aV+hRvtjileQZHxLg5CfdDHPqwmVhIjmepiLzyjzBvEkY31wvizCLGgWWKkk+LY
	 Vy7s5in5GBVsvHv6JRwZ3Jw38mOG56QZIGxyFTIuYuladVGbd3cC5cOGdf9DuvbK62w==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794418626;
	h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID:
	 References:MIME-Version:Content-Type:Content-Disposition:
	 Content-Transfer-Encoding:In-Reply-To;
	bh=9YexrO60oS4rlt/r0sleJ/GTAqTd7929wk1Rl5ZS/8I=;
	b=0gDCGSBg0V4b8WRLaKuTtBkLWBE+br9Zoi/rTjIKMEJPLkHhuFetx/RCZ9Q3hxkZ7K8Z
	 DVKP/nUmJ8XIc77R5WLLEcuWGcVJe8e6wzG6t4Bc2XhlskAhW1GH+RpVuB6E7nrbxnOlz
	 3wezRXtxYEF3zXjNcn5WGx59GfNu4kL/D/9+bejZz7+pUoOSSe8YbHsjB/orYrepEN6zU
	 fvM3geM7jUPqQQkofeqedWr+bDo+VzE7Am0vzjFfBFe75p2TG+bpA2Jq+QcjEmQfANTeh
	 6y7jlBpIuLafn3pbwn3cdqN9QRGz2BCuiQmfF+ovmgYk34aw9pF48BZ38Gwk+/Y4acQ==
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=Q9TyrzvW;
	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 4DFDD606A321;
	Wed, 11 Nov 2026 17:37:06 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 46C651F00A05;
	Wed, 11 Nov 2026 17:37:02 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1794418626;
	bh=9YexrO60oS4rlt/r0sleJ/GTAqTd7929wk1Rl5ZS/8I=;
	h=Date:From:To:Cc:Subject:References:In-Reply-To;
	b=Q9TyrzvWwkKy0snZ8tnWKZTnaDpYaaBhQ/FTfYtllzq2kg3B8Kg1lJ7D4EmfqMADS
	 lpvblbRBAUZV6WB197EVlwvfkkIaZ7yuHJnoDQh1/1vqbNcUz7SbWLbfKwKPuPvKbz
	 x+zIqg/bba7rKXTM05zOMO3Xz/2qrMHiP8wFvTAxQ66L3/dodmRJYDBc4Q+n8i2ZMz
	 fHa0zma96nLMquaWSIVJRZBtA5FSV6vfqyhW3amy5MEdIMsu9SIzENYJcY6WhUt9rV
	 No+AFGP0oV+MeWOkwsfdHBZwpaRvNUnF48jk/++qEA8eW6skYS23CDf0VGaoiHSfRH
	 ZEy/LZgYaE6cw==
X-Cc: Pavel Machek <pavel@kernel.org>, Jonathan Corbet <corbet@lwn.net>,
	Shuah Khan <skhan@linuxfoundation.org>,
	Thomas Weißschuh <linux@weissschuh.net>,
	Benson Leung <bleung@chromium.org>,
	Guenter Roeck <groeck@chromium.org>,
	Marek Behún <kabel@kernel.org>,
	Mark Pearson <mpearson-lenovo@squebb.ca>,
	"Derek J. Clark" <derekjohn.clark@gmail.com>,
	Hans de Goede <hansg@kernel.org>, Ike Panhc <ikepanhc@gmail.com>,
	Rong Zhang <i@rong.moe>, Andrew Lunn <andrew+netdev@lunn.ch>,
	Jakub Kicinski <kuba@kernel.org>,
	Vishnu Sankar <vishnuocv@gmail.com>,
	Vishnu Sankar <vsankar@lenovo.com>, linux-leds@vger.kernel.org,
	Netdev <netdev@vger.kernel.org>, linux-doc@vger.kernel.org,
	LKML <linux-kernel@vger.kernel.org>,
	chrome-platform@lists.linux.dev,
	platform-driver-x86@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: <b19ef65f-c563-07f8-1be8-9a0a0689da22@linux.intel.com>