[PATCH v2 0/2] gpio: Check for error from devm_mutex_init()

Andy Shevchenko posted 2 patches 3 weeks, 4 days ago
drivers/gpio/gpio-mpsse.c                 | 9 +++++++--
drivers/gpio/gpio-sloppy-logic-analyzer.c | 4 +++-
2 files changed, 10 insertions(+), 3 deletions(-)
[PATCH v2 0/2] gpio: Check for error from devm_mutex_init()
Posted by Andy Shevchenko 3 weeks, 4 days ago
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().

In v2:
- fixed obvious typo (Mary)
- collected tags (Mary, Wolfram)

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
Re: (subset) [PATCH v2 0/2] gpio: Check for error from devm_mutex_init()
Posted by Bartosz Golaszewski 3 weeks, 3 days ago
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>


On Wed, 30 Oct 2024 19:36:50 +0200, Andy Shevchenko wrote:
> 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().
> 
> In v2:
> - fixed obvious typo (Mary)
> - collected tags (Mary, Wolfram)
> 
> [...]

Applied, thanks!

[1/2] gpio: mpsse: Check for error code from devm_mutex_init() call
      commit: 5e3eedf55f13ef20ff475eacac30d1e6f91641da

Best regards,
-- 
Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Re: (subset) [PATCH v2 0/2] gpio: Check for error from devm_mutex_init()
Posted by Bartosz Golaszewski 3 weeks, 3 days ago
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>


On Wed, 30 Oct 2024 19:36:50 +0200, Andy Shevchenko wrote:
> 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().
> 
> In v2:
> - fixed obvious typo (Mary)
> - collected tags (Mary, Wolfram)
> 
> [...]

Applied, thanks!

[2/2] gpio: sloppy-logic-analyzer: Check for error code from devm_mutex_init() call
      commit: 90bad749858cf88d80af7c2b23f86db4f7ad61c2

Best regards,
-- 
Bartosz Golaszewski <bartosz.golaszewski@linaro.org>