forked from Minki/linux
f20dbe11e2
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> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
st_lsm6dsx_buffer.c | ||
st_lsm6dsx_core.c | ||
st_lsm6dsx_i2c.c | ||
st_lsm6dsx_i3c.c | ||
st_lsm6dsx_shub.c | ||
st_lsm6dsx_spi.c | ||
st_lsm6dsx.h |