linux_dsm_epyc7002/drivers/iio/imu/st_lsm6dsx
Lorenzo Bianconi f20dbe11e2 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>
2020-03-08 17:28:28 +00:00
..
Kconfig iio: imu: st_lsm6dsx: add support to LSM6DSRX 2019-10-27 16:38:06 +00:00
Makefile iio: imu: st_lsm6dsx: add i3c basic support for LSM6DSO and LSM6DSR 2019-07-27 22:55:27 +01:00
st_lsm6dsx_buffer.c First set of new device support, features and cleanups for IIO in the 5.6 cycle 2020-01-10 10:44:00 +01:00
st_lsm6dsx_core.c Merge 5.5-rc7 into staging-next 2020-01-22 09:05:34 +01:00
st_lsm6dsx_i2c.c iio: st_lsm6dsx: Drop unneeded OF code 2019-12-29 15:20:04 +00:00
st_lsm6dsx_i3c.c iio: imu: st_lsm6dsx: add i3c basic support for LSM6DSO and LSM6DSR 2019-07-27 22:55:27 +01:00
st_lsm6dsx_shub.c iio: imu: st_lsm6dsx: check return value from st_lsm6dsx_sensor_set_enable 2020-03-08 17:28:28 +00:00
st_lsm6dsx_spi.c iio: st_lsm6dsx: Drop unneeded OF code 2019-12-29 15:20:04 +00:00
st_lsm6dsx.h iio: imu: st_lsm6dsx: Fix mismatched comments 2020-02-14 12:08:11 +00:00