[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <0ec0086b91528e67c9a5c1fe4c27b65a3cc9f8aa.camel@gmail.com>
Date: Wed, 12 Nov 2025 18:00:42 +0000
From: Nuno Sá <noname.nuno@...il.com>
To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>, Jonathan Cameron
<Jonathan.Cameron@...wei.com>, linux-iio@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: Jonathan Cameron <jic23@...nel.org>, David Lechner
<dlechner@...libre.com>, Nuno Sá <nuno.sa@...log.com>,
Andy Shevchenko <andy@...nel.org>
Subject: Re: [PATCH v1 0/3] iio: core: fix error path in iio_device_alloc()
On Wed, 2025-11-12 at 15:55 +0100, Andy Shevchenko wrote:
> The series is induced by the similar fixes in viio_trigger_alloc().
> Basically two things happen here: 1) add missed mutex_destroy()
> calls, and 2) refactor to make sure we clean resources with put_device()
> when appropriate.
>
> Andy Shevchenko (3):
> iio: core: add missing mutex_destroy in iio_dev_release()
> iio: core: Clean up device correctly on iio_device_alloc() failure
> iio: core: Replace lockdep_set_class() + mutex_init() by combined call
>
> drivers/iio/industrialio-core.c | 18 +++++++++++-------
> 1 file changed, 11 insertions(+), 7 deletions(-)
LGTM,
Reviewed-by: Nuno Sá <nuno.sa@...log.com>
Powered by blists - more mailing lists