diff options
| author | Ivan Abramov <i.abramov@mt-integration.ru> | 2025-10-08 16:36:47 +0300 |
|---|---|---|
| committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2025-11-03 01:01:57 +0100 |
| commit | 2c68ac48c52ad146523f32b01d70009622bf81aa (patch) | |
| tree | a6e1886e03a72546b37fd09a5f8c311002f595a9 /tools/lib/python/kdoc/kdoc_re.py | |
| parent | 92ec7e7b86ec0aff9cd7db64d9dce50a0ea7c542 (diff) | |
power: supply: max17040: Check iio_read_channel_processed() return code
Since iio_read_channel_processed() may fail, return its exit code on error.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Fixes: 814755c48f8b ("power: max17040: get thermal data from adc if available")
Signed-off-by: Ivan Abramov <i.abramov@mt-integration.ru>
Link: https://patch.msgid.link/20251008133648.559286-1-i.abramov@mt-integration.ru
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/lib/python/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions
