linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 0/2] gpio: Check for error from devm_mutex_init()
@ 2024-10-30 15:30 Andy Shevchenko
  2024-10-30 15:30 ` [PATCH v1 1/2] gpio: mpsse: Check for error code from devm_mutex_init() call Andy Shevchenko
  2024-10-30 15:30 ` [PATCH v1 2/2] gpio: sloppy-logic-analyzer: " Andy Shevchenko
  0 siblings, 2 replies; 7+ messages in thread
From: Andy Shevchenko @ 2024-10-30 15:30 UTC (permalink / raw)
  To: Mary Strodl, Andy Shevchenko, Wolfram Sang, linux-gpio,
	linux-kernel
  Cc: Linus Walleij, Bartosz Golaszewski

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

-- 
2.43.0.rc1.1336.g36b5255a03ac


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

end of thread, other threads:[~2024-10-30 17:38 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-30 15:30 [PATCH v1 0/2] gpio: Check for error from devm_mutex_init() Andy Shevchenko
2024-10-30 15:30 ` [PATCH v1 1/2] gpio: mpsse: Check for error code from devm_mutex_init() call Andy Shevchenko
2024-10-30 17:12   ` Mary Strodl
2024-10-30 17:33     ` Andy Shevchenko
2024-10-30 17:38       ` Mary Strodl
2024-10-30 15:30 ` [PATCH v1 2/2] gpio: sloppy-logic-analyzer: " Andy Shevchenko
2024-10-30 16:59   ` Wolfram Sang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).