diff options
| author | Aashish Sharma <[email protected]> | 2022-06-13 23:22:24 +0000 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2022-06-19 16:22:49 +0000 |
| commit | 70171ed6dc53d2f580166d47f5b66cf51a6d0092 (patch) | |
| tree | 8cc944ee630b8d5aa1638b0cfe6843d99643a755 /scripts/clang-tools/gen_compile_commands.py | |
| parent | iio: accel: mma8452: ignore the return value of reset operation (diff) | |
| download | kernel-70171ed6dc53d2f580166d47f5b66cf51a6d0092.tar.gz kernel-70171ed6dc53d2f580166d47f5b66cf51a6d0092.zip | |
iio:proximity:sx9324: Check ret value of device_property_read_u32_array()
0-day reports:
drivers/iio/proximity/sx9324.c:868:3: warning: Value stored
to 'ret' is never read [clang-analyzer-deadcode.DeadStores]
Put an if condition to break out of switch if ret is non-zero.
Signed-off-by: Aashish Sharma <[email protected]>
Fixes: a8ee3b32f5da ("iio:proximity:sx9324: Add dt_binding support")
Reported-by: kernel test robot <[email protected]>
[[email protected]: Reword commit subject, add fixes tag]
Signed-off-by: Stephen Boyd <[email protected]>
Reviewed-by: Gwendal Grignou <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Cc: <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions
