From patchwork Fri Jun 23 08:58:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herve Codina X-Patchwork-Id: 111992 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp5629913vqr; Fri, 23 Jun 2023 02:01:17 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7I75A5xhMwJDDOZjpyzBkGPkpX2KJx7GcBCtOAheyuFaiyJzTSQcAQGJcrGf93On7J3r+/ X-Received: by 2002:a05:6a21:6811:b0:118:b2e1:9adb with SMTP id wr17-20020a056a21681100b00118b2e19adbmr20062657pzb.61.1687510876927; Fri, 23 Jun 2023 02:01:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687510876; cv=none; d=google.com; s=arc-20160816; b=lFRH9xthKTGOLLoN9N6iEKujUDmkhkF13cNQhtEpiNvMED0YnOGABvO152mEic85JI Z6RLXo3Ssrt3Z7BRvZGNAHuEIBEAeKprDHaGapgZzx9SI0oDdYfbGZ75HSbKzFz/9V8B KfBlTYCT17AWxW8WICmTgPEeHQxbavGrD9QCew2CwFGrMoWg+/oz+vil4S8pRlsyIglO fdRBvHdNrV1QHjT+oB63XIvM8vF0LahiDcaDUuMlTKy+sriFEoA2je1x/r9cn3eGhX85 kQsGleyEt1VMmd51R/5c1WJW2iSAsyTd+r9OiAsWM6f1s1CZxfJQcUGHcZdoKNjwAXMK J8vQ== 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:date:subject:cc:to:from :dkim-signature; bh=/3vY6PvUZlTSJ5HdHvT7yC0rLG7cHyF3d0FdWNs26M4=; b=VybjNb6zUMqeSIqFMFS0OVKqRSR/ZFjGFjoq8/G4yFL/0DglWahj4lBPmPo00rNWLq 2mZhiDgY7g2rTYKROSUCSxG7cSB3bE5Nj8OfBJHtC6gcAUEaJVqEgkpz0QhnEJfKJIUC BoWsebnBEcw11LO8Sbd6ER8e5iXYQLjIZ7dRmoksQVbqpwF28rN4Q1w4GJ01eq0G5hIX Lk8CDSVfRmcviMf89Xtc6KgK3oR/jRwrmBJUYM3y1hMdB4VkIrdkvirz0hu92HROEA/0 hNLz3xpQ/7shL5I+EXHtYbk5xspo66q+l2cirAGPBLLzh63MpDjYOz3w71TnGWJmUI81 U8bg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=ffGwx+1N; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k62-20020a638441000000b0055390a944c1si3722465pgd.551.2023.06.23.02.00.54; Fri, 23 Jun 2023 02:01:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=ffGwx+1N; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232083AbjFWI7l (ORCPT + 99 others); Fri, 23 Jun 2023 04:59:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42546 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231980AbjFWI7R (ORCPT ); Fri, 23 Jun 2023 04:59:17 -0400 Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::224]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 88DD2271B; Fri, 23 Jun 2023 01:59:00 -0700 (PDT) X-GND-Sasl: herve.codina@bootlin.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1687510738; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=/3vY6PvUZlTSJ5HdHvT7yC0rLG7cHyF3d0FdWNs26M4=; b=ffGwx+1NpPd8Gs4Bcn/9Y7DNE8c/5/vM1PDI/QXNuCi0EWVJEkH/as6BGMRRdbLxdmUWFG al/MuOhaHQLiBAuDvZd0/rTMoFW1hOmVSpvZUxZY0oRT1HUlVCkt0lEchORrYXKC7IyzAT nOEqag2Hq67673AvuRCJiu81sS1i1SFcmrg7Z7Pl7Qms3R/tLhupd/UxX5vv3B/tpL1V+0 L1lmIgHTpJIuc2cynxNL8eUxiFqWE+CIOX+N3Dkj97yfXpUA7jA+8thDfoH8yoz2yYzr8B hw40pGBXx6gRVlrYzj50EOKxr6cdd/PHsgXv8lcJw/H3sQPnaNqbYU8cmjOoGA== X-GND-Sasl: herve.codina@bootlin.com X-GND-Sasl: herve.codina@bootlin.com X-GND-Sasl: herve.codina@bootlin.com X-GND-Sasl: herve.codina@bootlin.com X-GND-Sasl: herve.codina@bootlin.com X-GND-Sasl: herve.codina@bootlin.com X-GND-Sasl: herve.codina@bootlin.com X-GND-Sasl: herve.codina@bootlin.com X-GND-Sasl: herve.codina@bootlin.com X-GND-Sasl: herve.codina@bootlin.com X-GND-Sasl: herve.codina@bootlin.com X-GND-Sasl: herve.codina@bootlin.com X-GND-Sasl: herve.codina@bootlin.com X-GND-Sasl: herve.codina@bootlin.com X-GND-Sasl: herve.codina@bootlin.com X-GND-Sasl: herve.codina@bootlin.com X-GND-Sasl: herve.codina@bootlin.com X-GND-Sasl: herve.codina@bootlin.com X-GND-Sasl: herve.codina@bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPA id E3A52E0003; Fri, 23 Jun 2023 08:58:55 +0000 (UTC) From: Herve Codina To: Herve Codina , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jonathan Cameron , Lars-Peter Clausen , Jaroslav Kysela , Takashi Iwai , Kuninori Morimoto , Andy Shevchenko Cc: alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, Wojciech Ziemba , Christophe Leroy , Thomas Petazzoni , Jonathan Cameron Subject: [PATCH v6 09/13] iio: inkern: Replace a FIXME comment by a TODO one Date: Fri, 23 Jun 2023 10:58:26 +0200 Message-Id: <20230623085830.749991-10-herve.codina@bootlin.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230623085830.749991-1-herve.codina@bootlin.com> References: <20230623085830.749991-1-herve.codina@bootlin.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769483405245338570?= X-GMAIL-MSGID: =?utf-8?q?1769483405245338570?= This FIXME comment is more a TODO one. It is a note when someone will need for this currently unsupported case. Change from FIXME to TODO. Signed-off-by: Herve Codina Suggested-by: Jonathan Cameron Reviewed-by: Andy Shevchenko Acked-by: Jonathan Cameron Reviewed-by: Christophe Leroy --- drivers/iio/inkern.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/inkern.c b/drivers/iio/inkern.c index 8bfd91f74101..19ddd77adb11 100644 --- a/drivers/iio/inkern.c +++ b/drivers/iio/inkern.c @@ -879,7 +879,7 @@ static int iio_channel_read_max(struct iio_channel *chan, *val = max_array(vals, length); break; default: - /* FIXME: learn about max for other iio values */ + /* TODO: learn about max for other iio values */ return -EINVAL; } return 0;