On 22.09.19 11:18, Lorenzo Bianconi wrote: > Check read_fifo pointer before using it since we can't assume it > is always set adding new sensors > > Signed-off-by: Lorenzo Bianconi <lorenzo@xxxxxxxxxx> > --- > drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c | 6 ++++++ > 1 file changed, 6 insertions(+) > Tested-by: Martin Kepplinger <martin.kepplinger@xxxxxxx>