Skip to content

iio: adc: Check for error from devm_mutex_init()

Andy Shevchenko linux-iio lkml 1 version Applied

Status from this message: Applied.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2iio: adc: ad4000: Check for error code from devm_mutex_init() calldrivers/iio/adc/ad4000.c+3 -10 replies
2/2iio: adc: pac1921: Check for error code from devm_mutex_init() calldrivers/iio/adc/pac1921.c+3 -11 reply

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchMatteo Martelli
1/2
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [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(-)
Signature · 1 line
2.43.0.rc1.1336.g36b5255a03ac