Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp622879rdb; Thu, 30 Nov 2023 13:44:41 -0800 (PST) X-Google-Smtp-Source: AGHT+IG1WF3zchcDZ4cVuE4nI5MVXdunGjXQwVBUv69nxw3fu2uoxV7rAhGKOEqczu+2aNUiDlbW X-Received: by 2002:a05:6358:78c:b0:169:57f3:7551 with SMTP id n12-20020a056358078c00b0016957f37551mr19565304rwj.23.1701380681561; Thu, 30 Nov 2023 13:44:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701380681; cv=none; d=google.com; s=arc-20160816; b=ZNeAdEmJAOKDBd9tlmRXQomwPT0LoRgq/oGBpXYAfGUu4/lxHjjXwpmp/R9WcpJTRt 8EX+5FTUe7RI4E4O+jF9KxO4PMCIJSNpbkFop3ogb5SNXz0us42+w8S+DLcyWaeHCog9 mZogQtL1yjqTa52VfEZ5oRuwLyFfUo76/dcWhjwlJuzqFYJppDBMkTX3K3nKIofBRRTu aBXFiMJfIbU358HDHw1Q5pPE1ZE6/a+PkB/L/JhBUWEOWtYkXA96QbQmhv9Ly1gECeVw 4fvoBnUQlU962ceP1P7usmrL8oHPueQq/YI6BKZqPwk6S3PZyY8KqdH3ned0x14reBDi oYeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=mcZqiHLWoReq83Cxef52pZESC4paMXVnCulpFCcMJGI=; fh=ttWv8VCoGF50n4AB/K9MI+yMSg75NE7RBe49baFg6DU=; b=gbkUu4jfd0O+TdeByVSS9UBWrmTs7huCSvmMC3nILrYAvojAArUonLNJlYlKZnOfFY qr/iJjnWmB5s+KMhqTnh0X9gaxlba0h9WrqSLUDVfwfgJ7AgSvT5taOeO5t8a/taRENG OrQfnPh8LOflgagioiEMSGLPnxwoQZfTnKnVRHFsvQtbbq5fUyaY87DJIonxYG1JxqFi y4tDEpbsKbRFUmqU87xUONic2hO9WOwSkk8Im59pcF192gsfmLQdNuD41AWr9gRsNBI+ 3VUbj4Gy5svaPrONpTQ2d0MwWTg09WI8A99S0uiL3QHVxYbla/vgR3x0RXJ25usArVR1 tf5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=gGjZzwia; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id bd5-20020a656e05000000b005ac2af99d30si2344520pgb.705.2023.11.30.13.44.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Nov 2023 13:44:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=gGjZzwia; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 48AD78098FD2; Thu, 30 Nov 2023 13:44:39 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230049AbjK3VoY (ORCPT + 99 others); Thu, 30 Nov 2023 16:44:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43130 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229645AbjK3VoX (ORCPT ); Thu, 30 Nov 2023 16:44:23 -0500 Received: from mail-lj1-x232.google.com (mail-lj1-x232.google.com [IPv6:2a00:1450:4864:20::232]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 88CDE10F8 for ; Thu, 30 Nov 2023 13:44:28 -0800 (PST) Received: by mail-lj1-x232.google.com with SMTP id 38308e7fff4ca-2c9bd3557cfso19298411fa.3 for ; Thu, 30 Nov 2023 13:44:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1701380667; x=1701985467; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=mcZqiHLWoReq83Cxef52pZESC4paMXVnCulpFCcMJGI=; b=gGjZzwiaGXEFeRkNwS0s1Jf1Q9LfP397rmDZkkjcz467+1msr+lBUBNhldQJyqR6JO MXlJIJtSV7fnPmAqmFJnGh3URwijaT4sUI0GKcyyw9uadU1ZAaBMXrQTT+BhlkIljKhD 7M+rM/MiPWyN4CpXQ3QI5umIuDDSsqsrDiBsn4CXYkoIP2DiuMlgpnBtC+YCChjhaNBz NyQRltzYvmupPkA/KmCvGfGr5ByVcbzwOQQf96uefxxw8658BPVqnPGJwS7ZIQf/Y4ey HSXhAuvy7OK5GrbZLjMWe1v7omYdj6Q1p5CdYvXhGbVLD1+KAU8GZUWq0r5xbJ8IIdbm jAtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701380667; x=1701985467; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=mcZqiHLWoReq83Cxef52pZESC4paMXVnCulpFCcMJGI=; b=JuruEWswWnVUZwYLo0Qx8aEpuB/U4cVkITXVMxyKmXDtZq3qmikZkiWub/POWZWboI x+PY+D68vMo56So3mXwx1z5DO9esoYJn9UFAs2t+2yVClCOx5NzLvnp+xBEhWZE0PAHW h6vt2vmu/IEHNoo93KjUXKSWEaz3UeLjdsdINErdTsE1J9hEJwIHhb6BgeMd/RZ1RC0Q dn7OvkIT8AqAonjOFwQpM5V5XmHIitMB1kteyTXg9kY5dT389dD0oa9GvjFxmcWC3ab+ ntdfT6iJUMiE3O2H2AYif3IEATbWuwkdTMBSOv0HdZEja+A43setXSk/DeU3QrNJZTyr x3hA== X-Gm-Message-State: AOJu0YyOx0zQdwayYfVWx/TKQ1oKMggpLlioabbSiSCLUTcukoWyJa0r 7L8MYDncvnZW+lDv243M+f9GAWV7RydTetuG4hiYDw== X-Received: by 2002:a2e:a3d2:0:b0:2c9:d872:abe8 with SMTP id w18-20020a2ea3d2000000b002c9d872abe8mr130629lje.102.1701380666724; Thu, 30 Nov 2023 13:44:26 -0800 (PST) MIME-Version: 1.0 References: <20231121-dev-iio-backend-v1-0-6a3d542eba35@analog.com> <20231121-dev-iio-backend-v1-5-6a3d542eba35@analog.com> In-Reply-To: <20231121-dev-iio-backend-v1-5-6a3d542eba35@analog.com> From: David Lechner Date: Thu, 30 Nov 2023 15:44:16 -0600 Message-ID: Subject: Re: [PATCH 05/12] iio: adc: ad9467: don't ignore error codes To: nuno.sa@analog.com Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-iio@vger.kernel.org, Olivier MOYSAN , Greg Kroah-Hartman , "Rafael J. Wysocki" , Rob Herring , Frank Rowand , Jonathan Cameron , Lars-Peter Clausen , Michael Hennerich Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Thu, 30 Nov 2023 13:44:39 -0800 (PST) On Tue, Nov 21, 2023 at 4:17=E2=80=AFAM Nuno Sa via B4 Relay wrote: > > From: Nuno Sa > > Make sure functions that return errors are not ignored. > > Fixes: ad6797120238 ("iio: adc: ad9467: add support AD9467 ADC") > Signed-off-by: Nuno Sa > --- > drivers/iio/adc/ad9467.c | 25 ++++++++++++++++--------- > 1 file changed, 16 insertions(+), 9 deletions(-) > > diff --git a/drivers/iio/adc/ad9467.c b/drivers/iio/adc/ad9467.c > index 368ea57be117..04474dbfa631 100644 > --- a/drivers/iio/adc/ad9467.c > +++ b/drivers/iio/adc/ad9467.c > @@ -6,6 +6,7 @@ > */ > > #include > +#include This looks like an unrelated change (should probably be in a separate commi= t). > #include > #include > #include