mbox series

[v1,0/2] gpio: Check for error from devm_mutex_init()

Message ID 20241030153201.2078266-1-andriy.shevchenko@linux.intel.com
Headers show
Series gpio: Check for error from devm_mutex_init() | expand

Message

Andy Shevchenko Oct. 30, 2024, 3:30 p.m. UTC
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):
  gpio: mpsse: Check for error code from devm_mutex_init() call
  gpio: sloppy-logic-analyzer: Check for error code from
    devm_mutex_init() call

 drivers/gpio/gpio-mpsse.c                 | 9 +++++++--
 drivers/gpio/gpio-sloppy-logic-analyzer.c | 4 +++-
 2 files changed, 10 insertions(+), 3 deletions(-)