diff options
author | 2025-02-04 07:52:50 +0100 | |
---|---|---|
committer | 2025-02-11 13:41:00 +0000 | |
commit | 8168906bbb3ba678583422de29e6349407a94bb5 (patch) | |
tree | b8c545da5ced274071cef3ad5aa3a1b9f2025e20 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | leds: lp8860: Drop unneeded assignment for cache_type (diff) | |
download | wireguard-linux-8168906bbb3ba678583422de29e6349407a94bb5.tar.xz wireguard-linux-8168906bbb3ba678583422de29e6349407a94bb5.zip |
leds: st1202: 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: 259230378c65 ("leds: Add LED1202 I2C driver")
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Link: https://lore.kernel.org/r/20250204-must_check-devm_mutex_init-v2-1-7b6271c4b7e6@weissschuh.net
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions