zephyr/drivers/sensor/lis2mdl
Himanshu Jha 4a5042dd77 sensor: lis2mdl: Handle return value of i2c_burst_read
i2c_burst_read can fail during read/write procedure. Therefore,
add a sanity check for its return value.

Fixes #11101
Coverity-CID: 189505

Signed-off-by: Himanshu Jha <himanshujha199640@gmail.com>
2018-11-06 14:10:51 -06:00
..
CMakeLists.txt
Kconfig
lis2mdl.c
lis2mdl.h
lis2mdl_trigger.c sensor: lis2mdl: Handle return value of i2c_burst_read 2018-11-06 14:10:51 -06:00