Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp2996867pxv; Sun, 18 Jul 2021 07:36:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwaQPAX+RSZ/x0u7iqw0Un/UcPLqYzwUK2Q1+688LEHWY4FG777mYxmYt+vN1FlE0nCbQSi X-Received: by 2002:a5d:87d0:: with SMTP id q16mr15254078ios.109.1626618966956; Sun, 18 Jul 2021 07:36:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626618966; cv=none; d=google.com; s=arc-20160816; b=jkc+jtlIWFu+vThrYsXKjKiXgPXoW7ghmme1uuXQyPB58ujjPDrpF2xmpP1st+a9ij 7zM91MjRWo2vI18ConpwO5T5LWJuJ5H3d1oHsTW9ksBUZtHT6F9Po7uMRxnaFmy6VCiU wDDoEeeVfIY4GagyAewu9hue8FWsnW/EybpxEONrLFqUnLML68RM9uJVZ4P55vfgNPxi +E8xCqbQ41KO2T3hjM9PgtlW4YaoV+qjQyAsJy7vz7Hwk0TG4ATNZMVh3+8z6xsRlAjJ zSx/rCZ7wwMyicKBn1nfxvC5qm61pCMf9Sv8viFwL3J05giWogkcGYvBCyoKgvApE4+I 1GBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=gqqVU1rM12VV9G7LQsAr8mWZc+R0BzHVWOJLQKLk0Gk=; b=jpnvvhAz6+/6ncphUZ/oyhtKoaA770Qt5u2I2TrcH874pSZ4D9OYAQgPdRb2HcIdXi taG+zOv1ZvMX2ADqsEMfWn1mKS89FyZo/qlsHr2W4HQpMkoHDugEuskOqyYEACLGt5vi Fq61jTbZRI4HDrF0cHGzphR4FCS5VWitFK19w1hvd6Mh1xgJctppR5Nlug5DtsLZrcOk sfH/WJwCc9SeIzJSu4waJmF0/tUENp9cNH73I8qXub6lcXQYEiMXaL3tDlTJve33j2AE oWVWgcfbAE03Di0CrpjsqtHE8gkCg5QnCf8AifPSo/btzXtqDLD+Cdnnq217B54G7BRP Qt8w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x4si16759037ilh.33.2021.07.18.07.35.54; Sun, 18 Jul 2021 07:36:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233869AbhGROiV (ORCPT + 99 others); Sun, 18 Jul 2021 10:38:21 -0400 Received: from mail.kernel.org ([198.145.29.99]:47228 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230307AbhGROiV (ORCPT ); Sun, 18 Jul 2021 10:38:21 -0400 Received: from jic23-huawei (cpc108967-cmbg20-2-0-cust86.5-4.cable.virginm.net [81.101.6.87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7115B6100A; Sun, 18 Jul 2021 14:35:20 +0000 (UTC) Date: Sun, 18 Jul 2021 15:37:45 +0100 From: Jonathan Cameron To: Sean Nyekjaer Cc: Lars-Peter Clausen , kernel test robot , Dan Carpenter , Jonathan Cameron , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] iio: accel: fxls8962af: fix potential use of uninitialized symbol Message-ID: <20210718153724.10600b2a@jic23-huawei> In-Reply-To: <20210623113115.581609-1-sean@geanix.com> References: <20210623113115.581609-1-sean@geanix.com> X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 23 Jun 2021 13:31:15 +0200 Sean Nyekjaer wrote: > Reported-by: kernel test robot > Reported-by: Dan Carpenter > Signed-off-by: Sean Nyekjaer > 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,