[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241030162013.2100253-1-andriy.shevchenko@linux.intel.com>
Date: Wed, 30 Oct 2024 18:19:17 +0200
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: Marcelo Schmitt <marcelo.schmitt@...log.com>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
Jonathan Cameron <Jonathan.Cameron@...wei.com>,
Matteo Martelli <matteomartelli3@...il.com>,
linux-iio@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: Lars-Peter Clausen <lars@...afoo.de>,
Michael Hennerich <Michael.Hennerich@...log.com>,
Jonathan Cameron <jic23@...nel.org>
Subject: [PATCH v1 0/2] iio: adc: Check for error from devm_mutex_init()
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
drivers/iio/adc/ad4000.c | 4 +++-
drivers/iio/adc/pac1921.c | 4 +++-
2 files changed, 6 insertions(+), 2 deletions(-)
--
2.43.0.rc1.1336.g36b5255a03ac
Powered by blists - more mailing lists