Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp886387rdb; Fri, 1 Dec 2023 00:48:05 -0800 (PST) X-Google-Smtp-Source: AGHT+IEbHuSQcgkrijHPaWFVWK0bnIxpbsxwPSa+yXjuf7JfnGEY5vhHcQg+5ZgZ8uIzhh9HoeZJ X-Received: by 2002:a05:6a00:35c7:b0:68e:3eab:9e18 with SMTP id dc7-20020a056a0035c700b0068e3eab9e18mr28111986pfb.12.1701420485507; Fri, 01 Dec 2023 00:48:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701420485; cv=none; d=google.com; s=arc-20160816; b=h6KJ1Fz4lGTZxKXEngLK0PDqHVK1PLqvaWbcjiEy3RY68RRQK7CWMkXB4q/D7xara/ T7NZGIRF8guaZIH8WRWMaOcvnSSz1inupHMMntSziF4tVwWFh5kNuydA0WlbNl6EHzZU 1UMzcyejDFzlIAN1A6MFIOWQK89Y+FsPjUe2RxRb7gOBIKOnya7lYf75V6FWBfX8wNpY jcoTrTKuDplJ0UVMwpNtwAA10MoAQ/eg88lqxTRxJZ1h0Acrx5wHy8JQsln+uMuHhL+1 VRvp0p9tNHUPCYjk6fSoDCbVCSXDCLVjx0V0zM6EDBZDWy5DU8C2pOAj2yhkoBozEOwh Rjiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=um+WQAjtb46WWAxOPIIxKEpMZp6pmTWg/qcTtD7pJEU=; fh=GQxDNlU0szhKG+eay4kofdBwtci3PaXxPlX9M257frU=; b=p2aWc7DJzJ10Ow4P9X6wW1r0QDORBbxVizGKkMuADIkItPdF7oyuI5POQnW/T6S/Sk hRlvg0bg+orKjuj8FARTHFdNVqY5o/yRoeZdqQIjKBZtG0GT03lr+BX8pwiMlrZU3/tA Cas0+gYYulRHBE+iR5arOTVpnNKg3ouGC6TMWl9galPsSD/4klzEpLPQKKoAzCdFshRA 2mFZ7Y7s2n45m/vEOByn38Xqi7ddqFQeGDewwV2t8qPLh7dxlTeSXrX7OGysuItVhqDa gUTTYbp0R7OtDd6m8Tv22D+EiRhH1LONjpejkh5CtexyaOKNixUjN+3bLAuWZhi0QKcI HLMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=lRqLwsP8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id fi5-20020a056a00398500b006cddefd2031si3017692pfb.37.2023.12.01.00.48.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 00:48:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=lRqLwsP8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id ADEE883A15BE; Fri, 1 Dec 2023 00:48:02 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377855AbjLAIrt (ORCPT + 99 others); Fri, 1 Dec 2023 03:47:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49768 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229479AbjLAIrs (ORCPT ); Fri, 1 Dec 2023 03:47:48 -0500 Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A4F2710D8; Fri, 1 Dec 2023 00:47:54 -0800 (PST) Received: by mail-wm1-x32f.google.com with SMTP id 5b1f17b1804b1-40859dee28cso16685475e9.0; Fri, 01 Dec 2023 00:47:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701420473; x=1702025273; darn=vger.kernel.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=um+WQAjtb46WWAxOPIIxKEpMZp6pmTWg/qcTtD7pJEU=; b=lRqLwsP8RptJr79W225a6IsOA/QRM8UV13WqR5pR8mpDZk0IkMo7An9GVMyM1JoBXi fTFYDTj1V5ccd67shlHhW8aFWp8RFWzrnib6u8181T38iFlq8nqyhbOSBakWnEmZ3y7o C8ls5W950SvWQ8NyCTX4SGk9oaSuE7vLFbBBiSI2XkorOER9VmY+GHRUjk+xo91c36wt GkFu2sEBz40T+zMWPYAqIncju6T6eV2tXKZ8W9cyjjxfeL9q0QdJswphHl2935Zdc+Yf XGMtu0uZYvyyGkkx5RD97Ft6qOAx3zI66EB+KgWL1gwZAV4ZuK06pRZ6Xgr4eVciswW2 CUfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701420473; x=1702025273; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=um+WQAjtb46WWAxOPIIxKEpMZp6pmTWg/qcTtD7pJEU=; b=gyn3a4rNr+vrfZn4wA7rebm/Pz+SAAeaT7m0LOaj8Q8U4/rcrbPfCrRw2I0XhBFoHL 0NTCuoqLNtS/ZB/FPuCAgKAJ2q9gBrjqY20G4H5OTf2GiZ0pE5+5VeVSYr2uOIqYvxWD P33/rhQzLjDyurR7oHHb7Vp3Uq+tDBLkOfxiXNHM3aF0LewF7alJN9yvFzEKiajKUzoD 56MKgH0Gtib5bJBDlCchZb63PmxNjOalch2fn+luA2KManolr7Ei2m3dAR1H85w8JOWc FSIjNw+dZOs6phcNmvkIEYre621xM5BepHCA1tYEfIK1leOGL+9mENYMuJJ8LxuZRwV2 P56g== X-Gm-Message-State: AOJu0Yx1MOlXbtKxni5/PG6IH8Lygk3RG7ymuL5cAE0mu32ysX9jpKZl 7dtEFEoIQTlgnn1bkpP4dpY= X-Received: by 2002:a05:600c:20b:b0:40b:5e22:976 with SMTP id 11-20020a05600c020b00b0040b5e220976mr358765wmi.101.1701420472791; Fri, 01 Dec 2023 00:47:52 -0800 (PST) Received: from ?IPv6:2001:a61:3456:4e01:6ae:b55a:bd1d:57fc? ([2001:a61:3456:4e01:6ae:b55a:bd1d:57fc]) by smtp.gmail.com with ESMTPSA id bd22-20020a05600c1f1600b004090798d29csm4737778wmb.15.2023.12.01.00.47.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 00:47:52 -0800 (PST) Message-ID: <0d3b2bce9b2f139e3338bd5dfc41a7923617b716.camel@gmail.com> Subject: Re: [PATCH 05/12] iio: adc: ad9467: don't ignore error codes From: Nuno =?ISO-8859-1?Q?S=E1?= To: David Lechner , 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 Date: Fri, 01 Dec 2023 09:47:51 +0100 In-Reply-To: References: <20231121-dev-iio-backend-v1-0-6a3d542eba35@analog.com> <20231121-dev-iio-backend-v1-5-6a3d542eba35@analog.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.4 (3.48.4-1.fc38) MIME-Version: 1.0 X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, 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 pete.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 (pete.vger.email [0.0.0.0]); Fri, 01 Dec 2023 00:48:02 -0800 (PST) On Thu, 2023-11-30 at 15:44 -0600, David Lechner wrote: > On Tue, Nov 21, 2023 at 4:17=E2=80=AFAM Nuno Sa via B4 Relay > wrote: > >=20 > > From: Nuno Sa > >=20 > > Make sure functions that return errors are not ignored. > >=20 > > Fixes: ad6797120238 ("iio: adc: ad9467: add support AD9467 ADC") > > Signed-off-by: Nuno Sa > > --- > > =C2=A0drivers/iio/adc/ad9467.c | 25 ++++++++++++++++--------- > > =C2=A01 file changed, 16 insertions(+), 9 deletions(-) > >=20 > > 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 @@ > > =C2=A0 */ > >=20 > > =C2=A0#include > > +#include >=20 > This looks like an unrelated change (should probably be in a separate com= mit). Indeed it is...=20 >=20 > > =C2=A0#include > > =C2=A0#include > > =C2=A0#include