summaryrefslogtreecommitdiff
path: root/drivers/sbus
diff options
context:
space:
mode:
authorLorenzo Bianconi <lorenzo@kernel.org>2020-02-07 15:37:54 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2020-03-08 20:28:28 +0300
commitf20dbe11e2e904547597ae7371c1f635e3be9cad (patch)
tree2271abe19a6461462c2ed611eb491240ffdec2c0 /drivers/sbus
parent16256a73744de2e79052403297a36664a547b5e9 (diff)
downloadlinux-f20dbe11e2e904547597ae7371c1f635e3be9cad.tar.xz
iio: imu: st_lsm6dsx: check return value from st_lsm6dsx_sensor_set_enable
Add missing return value check in st_lsm6dsx_shub_read_oneshot disabling the slave device connected to the st_lsm6dsx i2c controller. The issue is reported by coverity with the following error: Unchecked return value: If the function returns an error value, the error value may be mistaken for a normal value. Addresses-Coverity-ID: 1456767 ("Unchecked return value") Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/sbus')
0 files changed, 0 insertions, 0 deletions