diff options
| author | Ivan Abramov <i.abramov@mt-integration.ru> | 2025-10-08 15:07:11 +0300 |
|---|---|---|
| committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2025-11-03 01:01:57 +0100 |
| commit | 92ec7e7b86ec0aff9cd7db64d9dce50a0ea7c542 (patch) | |
| tree | db5fd3bc44ab217b4d1c099a3a2229a1276402d5 /tools/lib/python/abi/helpers.py | |
| parent | 6cdc4d488c2f3a61174bfba4e8cc4ac92c219258 (diff) | |
power: supply: cw2015: Check devm_delayed_work_autocancel() return code
Since devm_delayed_work_autocancel() may fail, add return code check and
exit cw_bat_probe() on error.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Fixes: 0cb172a4918e ("power: supply: cw2015: Use device managed API to simplify the code")
Signed-off-by: Ivan Abramov <i.abramov@mt-integration.ru>
Link: https://patch.msgid.link/20251008120711.556021-1-i.abramov@mt-integration.ru
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/lib/python/abi/helpers.py')
0 files changed, 0 insertions, 0 deletions
