* Re: [PATCH 4.4 16/34] led: core: Fix brightness setting when setting delay_off=0
[not found] ` <20180302084437.007951262@linuxfoundation.org>
@ 2018-03-07 15:32 ` Ben Hutchings
2018-03-07 20:39 ` Jacek Anaszewski
0 siblings, 1 reply; 6+ messages in thread
From: Ben Hutchings @ 2018-03-07 15:32 UTC (permalink / raw)
To: Greg Kroah-Hartman, linux-kernel, linux-leds, Matthieu CASTET,
Jacek Anaszewski
Cc: stable
On Fri, 2018-03-02 at 09:51 +0100, Greg Kroah-Hartman wrote:
> 4.4-stable review patch. If anyone has any objections, please let me
> know.
>
> ------------------
>
> From: Matthieu CASTET <matthieu.castet@parrot.com>
>
>
> [ Upstream commit 2b83ff96f51d0b039c4561b9f95c824d7bddb85c ]
>
> With the current code, the following sequence won't work :
> echo timer > trigger
>
> echo 0 > delay_off
> * at this point we call
> ** led_delay_off_store
> ** led_blink_set
[...]
The commit message got cut truncated here, which resulted in addresses
being omitted when it was sent out for review. The upstream commit
message refers to a LED_BLINK_SW flag which is not used in 4.4. So
this fix probably isn't needed, though I can't tell whether it does any
harm.
Ben.
--
Ben Hutchings
Software Developer, Codethink Ltd.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 4.4 16/34] led: core: Fix brightness setting when setting delay_off=0
2018-03-07 15:32 ` [PATCH 4.4 16/34] led: core: Fix brightness setting when setting delay_off=0 Ben Hutchings
@ 2018-03-07 20:39 ` Jacek Anaszewski
2018-03-08 17:24 ` Greg Kroah-Hartman
0 siblings, 1 reply; 6+ messages in thread
From: Jacek Anaszewski @ 2018-03-07 20:39 UTC (permalink / raw)
To: Ben Hutchings, Greg Kroah-Hartman, linux-kernel, linux-leds,
Matthieu CASTET
Cc: stable
Hi Ben,
On 03/07/2018 04:32 PM, Ben Hutchings wrote:
> On Fri, 2018-03-02 at 09:51 +0100, Greg Kroah-Hartman wrote:
>> 4.4-stable review patch. If anyone has any objections, please let me
>> know.
>>
>> ------------------
>>
>> From: Matthieu CASTET <matthieu.castet@parrot.com>
>>
>>
>> [ Upstream commit 2b83ff96f51d0b039c4561b9f95c824d7bddb85c ]
>>
>> With the current code, the following sequence won't work :
>> echo timer > trigger
>>
>> echo 0 > delay_off
>> * at this point we call
>> ** led_delay_off_store
>> ** led_blink_set
> [...]
>
> The commit message got cut truncated here, which resulted in addresses
> being omitted when it was sent out for review. The upstream commit
> message refers to a LED_BLINK_SW flag which is not used in 4.4. So
> this fix probably isn't needed, though I can't tell whether it does any
> harm.
We discussed it in [0]. This patch is not needed for 4.4 and what's
more more it is harmful. It introduces a bug, fixed in [1].
[0] https://lkml.org/lkml/2018/2/6/726
[1[ https://patchwork.kernel.org/patch/10253933/
--
Best regards,
Jacek Anaszewski
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 4.4 16/34] led: core: Fix brightness setting when setting delay_off=0
2018-03-07 20:39 ` Jacek Anaszewski
@ 2018-03-08 17:24 ` Greg Kroah-Hartman
2018-03-08 18:04 ` Pavel Machek
2018-03-08 20:48 ` Jacek Anaszewski
0 siblings, 2 replies; 6+ messages in thread
From: Greg Kroah-Hartman @ 2018-03-08 17:24 UTC (permalink / raw)
To: Jacek Anaszewski
Cc: Ben Hutchings, linux-kernel, linux-leds, Matthieu CASTET, stable
On Wed, Mar 07, 2018 at 09:39:08PM +0100, Jacek Anaszewski wrote:
> Hi Ben,
>
> On 03/07/2018 04:32 PM, Ben Hutchings wrote:
> > On Fri, 2018-03-02 at 09:51 +0100, Greg Kroah-Hartman wrote:
> >> 4.4-stable review patch. If anyone has any objections, please let me
> >> know.
> >>
> >> ------------------
> >>
> >> From: Matthieu CASTET <matthieu.castet@parrot.com>
> >>
> >>
> >> [ Upstream commit 2b83ff96f51d0b039c4561b9f95c824d7bddb85c ]
> >>
> >> With the current code, the following sequence won't work :
> >> echo timer > trigger
> >>
> >> echo 0 > delay_off
> >> * at this point we call
> >> ** led_delay_off_store
> >> ** led_blink_set
> > [...]
> >
> > The commit message got cut truncated here, which resulted in addresses
> > being omitted when it was sent out for review. The upstream commit
> > message refers to a LED_BLINK_SW flag which is not used in 4.4. So
> > this fix probably isn't needed, though I can't tell whether it does any
> > harm.
>
> We discussed it in [0]. This patch is not needed for 4.4 and what's
> more more it is harmful. It introduces a bug, fixed in [1].
>
> [0] https://lkml.org/lkml/2018/2/6/726
> [1[ https://patchwork.kernel.org/patch/10253933/
So, did I mess something up here? Am I missing some patch that I need
to apply, or do I need to revert something?
confused,
greg k-h
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 4.4 16/34] led: core: Fix brightness setting when setting delay_off=0
2018-03-08 17:24 ` Greg Kroah-Hartman
@ 2018-03-08 18:04 ` Pavel Machek
2018-03-08 20:48 ` Jacek Anaszewski
1 sibling, 0 replies; 6+ messages in thread
From: Pavel Machek @ 2018-03-08 18:04 UTC (permalink / raw)
To: Greg Kroah-Hartman
Cc: Jacek Anaszewski, Ben Hutchings, linux-kernel, linux-leds,
Matthieu CASTET, stable
[-- Attachment #1: Type: text/plain, Size: 1874 bytes --]
On Thu 2018-03-08 09:24:01, Greg Kroah-Hartman wrote:
> On Wed, Mar 07, 2018 at 09:39:08PM +0100, Jacek Anaszewski wrote:
> > Hi Ben,
> >
> > On 03/07/2018 04:32 PM, Ben Hutchings wrote:
> > > On Fri, 2018-03-02 at 09:51 +0100, Greg Kroah-Hartman wrote:
> > >> 4.4-stable review patch. If anyone has any objections, please let me
> > >> know.
> > >>
> > >> ------------------
> > >>
> > >> From: Matthieu CASTET <matthieu.castet@parrot.com>
> > >>
> > >>
> > >> [ Upstream commit 2b83ff96f51d0b039c4561b9f95c824d7bddb85c ]
> > >>
> > >> With the current code, the following sequence won't work :
> > >> echo timer > trigger
> > >>
> > >> echo 0 > delay_off
> > >> * at this point we call
> > >> ** led_delay_off_store
> > >> ** led_blink_set
> > > [...]
> > >
> > > The commit message got cut truncated here, which resulted in addresses
> > > being omitted when it was sent out for review. The upstream commit
> > > message refers to a LED_BLINK_SW flag which is not used in 4.4. So
> > > this fix probably isn't needed, though I can't tell whether it does any
> > > harm.
> >
> > We discussed it in [0]. This patch is not needed for 4.4 and what's
> > more more it is harmful. It introduces a bug, fixed in [1].
> >
> > [0] https://lkml.org/lkml/2018/2/6/726
> > [1[ https://patchwork.kernel.org/patch/10253933/
>
> So, did I mess something up here? Am I missing some patch that I need
> to apply, or do I need to revert something?
Well, patch [PATCH 4.4 16/34] led: core: Fix brightness setting when setting delay_off=0
is not suitable for -stable. It is not needed there.
(And it is also buggy and does not fix serious-enough problem to
warrant -stable).
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 4.4 16/34] led: core: Fix brightness setting when setting delay_off=0
2018-03-08 17:24 ` Greg Kroah-Hartman
2018-03-08 18:04 ` Pavel Machek
@ 2018-03-08 20:48 ` Jacek Anaszewski
2018-03-09 1:09 ` Greg Kroah-Hartman
1 sibling, 1 reply; 6+ messages in thread
From: Jacek Anaszewski @ 2018-03-08 20:48 UTC (permalink / raw)
To: Greg Kroah-Hartman
Cc: Ben Hutchings, linux-kernel, linux-leds, Matthieu CASTET, stable
On 03/08/2018 06:24 PM, Greg Kroah-Hartman wrote:
> On Wed, Mar 07, 2018 at 09:39:08PM +0100, Jacek Anaszewski wrote:
>> Hi Ben,
>>
>> On 03/07/2018 04:32 PM, Ben Hutchings wrote:
>>> On Fri, 2018-03-02 at 09:51 +0100, Greg Kroah-Hartman wrote:
>>>> 4.4-stable review patch. If anyone has any objections, please let me
>>>> know.
>>>>
>>>> ------------------
>>>>
>>>> From: Matthieu CASTET <matthieu.castet@parrot.com>
>>>>
>>>>
>>>> [ Upstream commit 2b83ff96f51d0b039c4561b9f95c824d7bddb85c ]
>>>>
>>>> With the current code, the following sequence won't work :
>>>> echo timer > trigger
>>>>
>>>> echo 0 > delay_off
>>>> * at this point we call
>>>> ** led_delay_off_store
>>>> ** led_blink_set
>>> [...]
>>>
>>> The commit message got cut truncated here, which resulted in addresses
>>> being omitted when it was sent out for review. The upstream commit
>>> message refers to a LED_BLINK_SW flag which is not used in 4.4. So
>>> this fix probably isn't needed, though I can't tell whether it does any
>>> harm.
>>
>> We discussed it in [0]. This patch is not needed for 4.4 and what's
>> more more it is harmful. It introduces a bug, fixed in [1].
>>
>> [0] https://lkml.org/lkml/2018/2/6/726
>> [1[ https://patchwork.kernel.org/patch/10253933/
>
> So, did I mess something up here? Am I missing some patch that I need
> to apply, or do I need to revert something?
>
> confused,
It needs to be reverted in 4.4-stable, and Ben's patch [0] does what's
needed.
[0] https://www.spinics.net/lists/stable/msg223656.html
--
Best regards,
Jacek Anaszewski
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 4.4 16/34] led: core: Fix brightness setting when setting delay_off=0
2018-03-08 20:48 ` Jacek Anaszewski
@ 2018-03-09 1:09 ` Greg Kroah-Hartman
0 siblings, 0 replies; 6+ messages in thread
From: Greg Kroah-Hartman @ 2018-03-09 1:09 UTC (permalink / raw)
To: Jacek Anaszewski
Cc: Ben Hutchings, linux-kernel, linux-leds, Matthieu CASTET, stable
On Thu, Mar 08, 2018 at 09:48:08PM +0100, Jacek Anaszewski wrote:
> On 03/08/2018 06:24 PM, Greg Kroah-Hartman wrote:
> > On Wed, Mar 07, 2018 at 09:39:08PM +0100, Jacek Anaszewski wrote:
> >> Hi Ben,
> >>
> >> On 03/07/2018 04:32 PM, Ben Hutchings wrote:
> >>> On Fri, 2018-03-02 at 09:51 +0100, Greg Kroah-Hartman wrote:
> >>>> 4.4-stable review patch. If anyone has any objections, please let me
> >>>> know.
> >>>>
> >>>> ------------------
> >>>>
> >>>> From: Matthieu CASTET <matthieu.castet@parrot.com>
> >>>>
> >>>>
> >>>> [ Upstream commit 2b83ff96f51d0b039c4561b9f95c824d7bddb85c ]
> >>>>
> >>>> With the current code, the following sequence won't work :
> >>>> echo timer > trigger
> >>>>
> >>>> echo 0 > delay_off
> >>>> * at this point we call
> >>>> ** led_delay_off_store
> >>>> ** led_blink_set
> >>> [...]
> >>>
> >>> The commit message got cut truncated here, which resulted in addresses
> >>> being omitted when it was sent out for review. The upstream commit
> >>> message refers to a LED_BLINK_SW flag which is not used in 4.4. So
> >>> this fix probably isn't needed, though I can't tell whether it does any
> >>> harm.
> >>
> >> We discussed it in [0]. This patch is not needed for 4.4 and what's
> >> more more it is harmful. It introduces a bug, fixed in [1].
> >>
> >> [0] https://lkml.org/lkml/2018/2/6/726
> >> [1[ https://patchwork.kernel.org/patch/10253933/
> >
> > So, did I mess something up here? Am I missing some patch that I need
> > to apply, or do I need to revert something?
> >
> > confused,
>
> It needs to be reverted in 4.4-stable, and Ben's patch [0] does what's
> needed.
>
> [0] https://www.spinics.net/lists/stable/msg223656.html
Ah great, that's now queued up.
thanks,
greg k-h
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2018-03-09 1:09 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20180302084435.842679610@linuxfoundation.org>
[not found] ` <20180302084437.007951262@linuxfoundation.org>
2018-03-07 15:32 ` [PATCH 4.4 16/34] led: core: Fix brightness setting when setting delay_off=0 Ben Hutchings
2018-03-07 20:39 ` Jacek Anaszewski
2018-03-08 17:24 ` Greg Kroah-Hartman
2018-03-08 18:04 ` Pavel Machek
2018-03-08 20:48 ` Jacek Anaszewski
2018-03-09 1:09 ` Greg Kroah-Hartman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).