Received: by 2002:a05:7412:361b:b0:f9:2edb:3e4d with SMTP id ie27csp92989rdb; Sun, 17 Dec 2023 16:19:05 -0800 (PST) X-Google-Smtp-Source: AGHT+IGaSPoQ2h8DbPp3mFXGhzX8WD1sffCp6VQc76n6m7dFfVl7ThAeEPAE7BsRI25Gl53PZ0kg X-Received: by 2002:a05:6a20:1016:b0:18f:97c:3849 with SMTP id gs22-20020a056a20101600b0018f097c3849mr15203544pzc.35.1702858744718; Sun, 17 Dec 2023 16:19:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702858744; cv=none; d=google.com; s=arc-20160816; b=tdsnXx0xVrFmb5x5Tqi+jD8/hyGZTikIvgI503Ja+eAV7klUHxNNHdJb7BOqDylQg4 wUPSXxVOEMv3T/Vqr+h0Vk1U2wYVJKgWwnBgExwpewKv4k8q/+4Fy8HrdQxroqSkgrWM 6xZNXKPbfmoUyb8zf0/Ychwl+5GMZKKYF96BNilXLW6Tyzlfs7u4Z8sEOqj9LQR23DKp /HbrO5/Ra3jasK83vv2PG7pUw+Gwmvm3XrHur/iyO0TmBJYdC6NCY8sNSLnZ+sQwUBQw rcnx5Lmjze98q/BKHDNcMS/KBpPoQYyonQci6PXVI/nj1XmFG4Tr1XltvMKiIb0xB4DA h6Jw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=OCr0Y7VbGfJGw5U5BlcbXbCntBUQs/Yx4Y2eOI9HhnY=; fh=sbWzcFRy6UGcxKZMLw4wW5WBWtS+/DZ/6JA1SqjGTug=; b=pYb3rBGuFCUw1FLLKgrzbZlYS1GeF5ZtgcMLKKpOs9P9sHJUyVUZlamhTli6UrhYSs urnQ2ZLLFUuA5JV0td4TRlwO3CUEgYBArvF1PaASfSKKOiflGjHZKhaftMNFUb78O1wu DsmTEIU2PgoNapeiIVSm9XJbPu18UMbNmbez13VTPaMSgfjEnjrU7qR7wY/5maFoiliB jRmBmdcE09FpgNbon9Q4zQIM5C9a0hbwOOwFTKRx0BuxWO2fjOhJx0gDkx6WLRRzT5PT O2ibiAEPvBLUQ+Kg8q8SL7eyQk6jd3IzbFvAHexjuGAz0/zyGzdRl4oEWXiKmJ9P/jY9 j+vQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=ikvwBDZU; spf=pass (google.com: domain of linux-kernel+bounces-2887-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-2887-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id ca27-20020a056a00419b00b006d36dc8a937si3190720pfb.128.2023.12.17.16.19.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Dec 2023 16:19:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-2887-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=ikvwBDZU; spf=pass (google.com: domain of linux-kernel+bounces-2887-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-2887-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 31E2C282D17 for ; Mon, 18 Dec 2023 00:10:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3FAC380A; Mon, 18 Dec 2023 00:10:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b="ikvwBDZU" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-lj1-f175.google.com (mail-lj1-f175.google.com [209.85.208.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id ECC4E369 for ; Mon, 18 Dec 2023 00:10:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Received: by mail-lj1-f175.google.com with SMTP id 38308e7fff4ca-2cc6eecd319so5955741fa.1 for ; Sun, 17 Dec 2023 16:10:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1702858245; x=1703463045; 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=OCr0Y7VbGfJGw5U5BlcbXbCntBUQs/Yx4Y2eOI9HhnY=; b=ikvwBDZU9BNUVYlGYzozmS+xfcfOB7Idoa34m2i8DxP6nkPqznEA1eLFaOhfet2QQz uqwQasocBUxwi/jMzA5alJ2gdfVY3RIKmxRZre6zZqB8FDxqlrITY4UshxTBxPeRY+WQ 5iAcqf2+L2jw7Sq17WmGqh+BCIiSBEVDUueXHu0fmOLXX2w+VdWTUuDghV/WlyR0cpsc DdK9pYbTAHZG33P+T3j8kHoqJSiqNocQcBIxMX0wmKZO7qnkhQCK7qHgSsZi9QzG8e2i 4P0jPV3Mp1hxFTiFITo+QpaRcsd4WFD/XJdICFZ1YD4kIz6GrdEUD0mMiuHXHIZzNgFi LeBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702858245; x=1703463045; 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=OCr0Y7VbGfJGw5U5BlcbXbCntBUQs/Yx4Y2eOI9HhnY=; b=B0TuZg4xdpvnNOXLSNLGX8bwynwi+RZv8kaFGSQRSLjWNp9zsqdyrdeXqU/8OcQ4+L oEdylNRnhQxqjtbpmv8UQJtsclRakfJJBhOGX98v6n7A6tPMstCK5nvMjrWiqMLx9mtB WXOgThSfvxGrZ1DU878vgnyEJt8DGN2puu2ihh/rvgRzbxbXeVP/5Z4yjgsKYlYPN3hV GYlrct+PXaTtjp9tJO9zK1M26v1mxRs9OeijIMu8SaX/30ozjPE9vmKhDETxSS8fKsOA kc3KSI8KNq7Yxvxo1Z0vOMXIK+fvTX6JbxW4eQHUniKY4PTTEr4eGEuUTt23GAwgv+ZE 1tAg== X-Gm-Message-State: AOJu0YwKkO/fjeoLsSNDJ/g30hOi09PPFyOOnKXz1lsT1v6ydmMTjmNN CNKW/b6NYnmJIG7lEfq0cew1jSt0Kpx9pvB+GrwFbg== X-Received: by 2002:a2e:99d4:0:b0:2cc:6dde:b9bc with SMTP id l20-20020a2e99d4000000b002cc6ddeb9bcmr538149ljj.0.1702858245114; Sun, 17 Dec 2023 16:10:45 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <24a9f1bb721e66df65e36797b0c3fd2ca1f95227.1702746240.git.marcelo.schmitt1@gmail.com> In-Reply-To: From: David Lechner Date: Sun, 17 Dec 2023 18:10:34 -0600 Message-ID: Subject: Re: [PATCH v4 15/15] iio: adc: ad7091r: Allow users to configure device events To: Marcelo Schmitt Cc: apw@canonical.com, joe@perches.com, dwaipayanray1@gmail.com, lukas.bulwahn@gmail.com, paul.cercueil@analog.com, Michael.Hennerich@analog.com, lars@metafoo.de, jic23@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, dan.carpenter@linaro.org, marcelo.schmitt1@gmail.com, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, Dec 17, 2023 at 5:58=E2=80=AFPM David Lechner wrote: > > On Sat, Dec 16, 2023 at 11:52=E2=80=AFAM Marcelo Schmitt > wrote: > > > > Implement event configuration callbacks allowing users to read/write > > event thresholds and enable/disable event generation. > > > > Signed-off-by: Marcelo Schmitt > > --- > > This is from a review suggestion David made on v3 [1]. > > > > Is this the case for a Suggested-by tag? > > > > [1]: https://lore.kernel.org/linux-iio/CAMknhBFPbAqp4-AQdmbp+VRW-Ksk1Px= aLCG+3n=3DZk4gyStqhgw@mail.gmail.com/#t > > > > I suppose it fits the definition of Suggested-by well enough and would > be appreciated. Even more so on [PATCH v4 02/15] "iio: adc: ad7091r: > Pass iio_dev to event handler". And it seems like this should have the Fixes tag since this is fixing a null pointer dereference. And the commit message should describe the problem and that this as a fix, otherwise it sounds like we are just adding a new feature here.