Quoting Dan Carpenter (2020-11-30 23:03:28) > This > should be >= to prevent reading one element beyond the end of > the sx9310_pthresh_codes[] array. > > Fixes: ad2b473e2ba3 ("iio: sx9310: Support setting proximity thresholds") > Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> > --- Thanks! Reviewed-by: Stephen Boyd <swboyd@xxxxxxxxxxxx>