Re: [PATCH v1 0/2] iio: adc: Check for error from devm_mutex_init()

From: Jonathan Cameron
Date: Thu Oct 31 2024 - 15:20:04 EST


On Wed, 30 Oct 2024 18:19:17 +0200
Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> wrote:

> Ignoring error checking from devm calls is a bad practice in general.
> While not critical today, it may become a problem tomorrow.
> Fix this for devm_mutex_init().
>
> Andy Shevchenko (2):
> iio: adc: ad4000: Check for error code from devm_mutex_init() call
> iio: adc: pac1921: Check for error code from devm_mutex_init() call
>
Oops. Missed this in review obviously.

Applied.
> drivers/iio/adc/ad4000.c | 4 +++-
> drivers/iio/adc/pac1921.c | 4 +++-
> 2 files changed, 6 insertions(+), 2 deletions(-)
>