Re: (subset) [PATCH v7 2/3] leds: lp8860: Check return value of devm_mutex_init()
From: Lee Jones
Date: Wed Jun 25 2025 - 05:05:18 EST
On Thu, 19 Jun 2025, Thomas Weißschuh wrote:
> Hi Lee,
>
> On 2025-06-19 13:34:56+0100, Lee Jones wrote:
> > On Tue, 17 Jun 2025 19:08:13 +0200, Thomas Weißschuh wrote:
> > > devm_mutex_init() can fail. With CONFIG_DEBUG_MUTEXES=y the mutex will be
> > > marked as unusable and trigger errors on usage.
> > >
> > > Add the missed check.
> >
> > Applied, thanks!
> >
> > [2/3] leds: lp8860: Check return value of devm_mutex_init()
> > commit: 426e0c8e8eed26b67bbbd138483bb5973724adae
>
> Thanks, but (as mentioned in the cover letter) these patches should go
> together through the mutex/locking tree.
> Could you drop it on your side and give an Ack instead?
There has to be good reasons to do this.
I didn't see any dependents or dependencies in this patch.
--
Lee Jones [李琼斯]