[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241030174132.2113286-1-andriy.shevchenko@linux.intel.com>
Date: Wed, 30 Oct 2024 19:36:50 +0200
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: Mary Strodl <mstrodl@....rit.edu>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
Wolfram Sang <wsa+renesas@...g-engineering.com>,
linux-gpio@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: Linus Walleij <linus.walleij@...aro.org>,
Bartosz Golaszewski <brgl@...ev.pl>
Subject: [PATCH v2 0/2] gpio: 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().
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
Powered by blists - more mailing lists