lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250307153015.GF8350@google.com>
Date: Fri, 7 Mar 2025 07:30:15 -0800
From: Lee Jones <lee@...nel.org>
To: Manuel Fombuena <fombuena@...look.com>
Cc: pavel@....cz, linux-leds@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 3/3] leds: Kconfig: leds-st1202: add select for required
 LEDS_TRIGGER_PATTERN

On Fri, 07 Mar 2025, Manuel Fombuena wrote:

> On Thu, 6 Mar 2025, Lee Jones wrote:
> 
> > On Wed, 26 Feb 2025, Manuel Fombuena wrote:
> > > --- a/drivers/leds/Kconfig
> > > +++ b/drivers/leds/Kconfig
> > > @@ -971,6 +971,7 @@ config LEDS_ST1202
> > >  	depends on I2C
> > >  	depends on OF
> > >  	select LEDS_TRIGGERS
> > > +	select LEDS_TRIGGER_PATTERN
> > 
> > Don't you need both?
> 
> Not sure I understand the question, sorry. The patch adds 'select 
> LEDS_TRIGGER_PATTERN' to the existing 'select LEDS_TRIGGERS'. So yes, you 
> need both.
> 
> If the question were meant to be 'Do you need both?' the answer would have 
> also been yes. Having only 'select LEDS_TRIGGER_PATTERN' doesn't select 
> LEDS_TRIGGERS, and it would be even worse because you wouldn't have any of 
> them. I tried that first, in case select LEDS_TRIGGER_PATTERN implicitly 
> selects LEDS_TRIGGER, but it doesn't work like that.

Never mind.  I misread the diff.

-- 
Lee Jones [李琼斯]

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ