diff options
| author | Andy Shevchenko <[email protected]> | 2024-10-30 17:36:51 +0000 |
|---|---|---|
| committer | Bartosz Golaszewski <[email protected]> | 2024-10-31 12:47:36 +0000 |
| commit | 5e3eedf55f13ef20ff475eacac30d1e6f91641da (patch) | |
| tree | a24c774854e1761897c93c186a6f6853ad328eaa /fs/namespace.c | |
| parent | gpiolib: avoid format string weakness in workqueue interface (diff) | |
| download | kernel-5e3eedf55f13ef20ff475eacac30d1e6f91641da.tar.gz kernel-5e3eedf55f13ef20ff475eacac30d1e6f91641da.zip | |
gpio: mpsse: Check for error code from devm_mutex_init() call
Even if it's not critical, the avoidance of checking the error code
from devm_mutex_init() call today diminishes the point of using devm
variant of it. Tomorrow it may even leak something. Add the missed
check.
Fixes: c46a74ff05c0 ("gpio: add support for FTDI's MPSSE as GPIO")
Reviewed-by: Mary Strodl <[email protected]>
Signed-off-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'fs/namespace.c')
0 files changed, 0 insertions, 0 deletions
