Re: (subset) [PATCH] leds: lp5860: Fix a potential double-unlock
Lee Jones <[email protected]> Thu, 02 Jul 2026 15:52:38 +0100
| Newsgroups | org.kernel.vger.kernel-janitors,org.kernel.vger.linux-kernel,org.kernel.vger.linux-leds |
|---|---|
| Message-ID | <178300395823.2187505.4713396365487978231.b4-ty@b4> |
On Sat, 20 Jun 2026 17:51:53 +0200, Christophe JAILLET wrote:
> In lp5860_device_init(), if lp5860_init_dt() fails, an already unlocked
> mutex is unlocked another time.
>
> Slightly rework how the lock is taken/released to avoid this potential
> double unlock.
>
>
> [...]
Applied, thanks!
[1/1] leds: lp5860: Fix a potential double-unlock
commit: 10a5a70c02277a1c12999b669a1bd1922558338a
--
Lee Jones [李琼斯]