Re: leds: avoid flush_work in atomic context

From: Hugh Dickins
Date: Sun May 26 2019 - 15:44:00 EST


On Sun, 26 May 2019, Pavel Machek wrote:
> Hi!
>
> > Thank you for the patch.
> >
> > I've applied it however I'm not sure if it is an official
> > submission, since it doesn't look like (no [PATCH] tag
> > in the subject).
>
> It was official submission :-).
>
> > Beside that 'Fixes' tag is somewhat incomplete - it should be
> > generated using following git command:
> >
> > git log -1 0db37915d912 --format='Fixes: %h ("%s")'
> >
> > Fixed that and applied to the for-next branch and will push
> > it upstream after a bit of testing for rc3 or rc4.
>
> Ok. Note that this did not crash Hugh's machine but it may crash
> someone else's, and probably crashed mine already.

Where "this" is commit 0db37915d912, I hope: right, it did not
actually crash my machine, but the splurge of warning messages
forced me to reboot quickly, and go look for the culprit.

Your fix certainly did not crash my machine either,
but I hope we don't expect your fix to crash someone else's!

>
> So... it makes sense to push it to Linus "soon".

Agreed.

Hugh