public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 0/2] iio: adc: Check for error from devm_mutex_init()
@ 2024-10-30 16:19 Andy Shevchenko
  2024-10-30 16:19 ` [PATCH v1 1/2] iio: adc: ad4000: Check for error code from devm_mutex_init() call Andy Shevchenko
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Andy Shevchenko @ 2024-10-30 16:19 UTC (permalink / raw)
  To: Marcelo Schmitt, Andy Shevchenko, Jonathan Cameron,
	Matteo Martelli, linux-iio, linux-kernel
  Cc: Lars-Peter Clausen, Michael Hennerich, Jonathan Cameron

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-10-31 19:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-30 16:19 [PATCH v1 0/2] iio: adc: Check for error from devm_mutex_init() Andy Shevchenko
2024-10-30 16:19 ` [PATCH v1 1/2] iio: adc: ad4000: Check for error code from devm_mutex_init() call Andy Shevchenko
2024-10-30 16:19 ` [PATCH v1 2/2] iio: adc: pac1921: " Andy Shevchenko
2024-10-30 16:47   ` Matteo Martelli
2024-10-31 19:19 ` [PATCH v1 0/2] iio: adc: Check for error from devm_mutex_init() Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox