[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210718153724.10600b2a@jic23-huawei>
Date: Sun, 18 Jul 2021 15:37:45 +0100
From: Jonathan Cameron <jic23@...nel.org>
To: Sean Nyekjaer <sean@...nix.com>
Cc: Lars-Peter Clausen <lars@...afoo.de>,
kernel test robot <lkp@...el.com>,
Dan Carpenter <dan.carpenter@...cle.com>,
Jonathan Cameron <Jonathan.Cameron@...wei.com>,
linux-iio@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] iio: accel: fxls8962af: fix potential use of
uninitialized symbol
On Wed, 23 Jun 2021 13:31:15 +0200
Sean Nyekjaer <sean@...nix.com> wrote:
> Reported-by: kernel test robot <lkp@...el.com>
> Reported-by: Dan Carpenter <dan.carpenter@...cle.com>
> Signed-off-by: Sean Nyekjaer <sean@...nix.com>
> Fixes: af959b7b96b8 ("iio: accel: fxls8962af: fix errata bug E3 - I2C burst reads")
Oops. Seems I applied this but didn't reply here to say I'd done so.
Thanks,
Jonathan
> ---
> drivers/iio/accel/fxls8962af-core.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/iio/accel/fxls8962af-core.c b/drivers/iio/accel/fxls8962af-core.c
> index 078d87865fde..0019f1ea7df2 100644
> --- a/drivers/iio/accel/fxls8962af-core.c
> +++ b/drivers/iio/accel/fxls8962af-core.c
> @@ -637,7 +637,7 @@ static int fxls8962af_i2c_raw_read_errata3(struct fxls8962af_data *data,
> return ret;
> }
>
> - return ret;
> + return 0;
> }
>
> static int fxls8962af_fifo_transfer(struct fxls8962af_data *data,
Powered by blists - more mailing lists