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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)
> 





[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux