Re: [PATCH v2 1/1] cpufreq: loongson3: Check for error code from devm_mutex_init() call

From: Viresh Kumar
Date: Sun Nov 10 2024 - 23:11:28 EST


On 08-11-24, 11:27, Andy Shevchenko wrote:
> On Thu, Oct 31, 2024 at 03:46:34PM +0200, Andy Shevchenko wrote:
> > Even if it's not critical, the avoidance of checking the error code
> > from devm_mutex_init() call today diminishes the point of using devm
> > variant of it. Tomorrow it may even leak something. Add the missed
> > check.
>
> Any comments? Can this be applied now for fixes, please?

Applied. Thanks.

--
viresh