From patchwork Mon Jun 12 12:29:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herve Codina X-Patchwork-Id: 106566 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp2560942vqr; Mon, 12 Jun 2023 05:48:51 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6XpBfnhtdnwiWVRKtIdFEk5/jgKKN3wy1X3n80t+C0RTR0LUamcEIgzo2gH45slxQp9Cg3 X-Received: by 2002:aa7:d891:0:b0:506:7d65:c1fb with SMTP id u17-20020aa7d891000000b005067d65c1fbmr4793355edq.30.1686574131238; Mon, 12 Jun 2023 05:48:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686574131; cv=none; d=google.com; s=arc-20160816; b=zn/urxS3iiFGmUBp+C4CAGjvyHO72zZt/Kd/Y+/gWAcLwdk9/ia+JlgkyhcN7Gv8IP a/8KHWZb4LiFiQIBR7pa2MsCIhZKTlMBc6rNvVrTHcr5Dy1T1juO6mXGJCjT4VHFkvt9 ts/xUM3/MTQULL2S1g5fUy1sC1KKIhsnWT/rkIZK9zI7VIMjS6l+3z1sgaLk+NJb1XGq JCs0gaetsKz85dOGdT5HGRUvRmstO7GBwO+BNKtFCYsquIcQd0pZZ1nDI0zlLWAqonEy C878iWl/Syuu/DIousQEkgJixUYiAyTDBlVz2RQDirp9OVO1Zl5vZyYv9yCQ/2jnYJhN 6NqA== 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=NIE4XthfYfgue+TiYRLnyKQDQmR/Am6iv4V0HmdFU7o=; b=b8x1CZt5VSnjxxcyaxInFmhLVQ2QfcaHm8fC8X2OE80SIBlzr6q+t4CN8r92qBcE+M /xSNUezc0MJo6OBsO9kMrj6Oos3D/32TzHB+E8l9OZUZ5mpkvCf82M19x6ougjsJ0XH2 WUmz6PVYB9r1Ia/m5tUaFZBowYKtFioC/lLhjhFePmwt5A7aR8f/jtpe9dyHzD9ey6EW xrwT/JxYf393z40z6XWNOW+PS2lv4algDTlRFnazQBnKniXNNXy52GQ0mqVwztsbOZRk SpqnNg7oGQePLZGceBAS+5hFFbPEnjUaXX1Z8udFLSbOZTw+B0sLMxEf/FA7Kb2ozTi+ D+3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=nCIqawbr; 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 b23-20020a05640202d700b005186a9a053csi113705edx.350.2023.06.12.05.48.24; Mon, 12 Jun 2023 05:48:51 -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=nCIqawbr; 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 S234725AbjFLMbM (ORCPT + 99 others); Mon, 12 Jun 2023 08:31:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53304 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234576AbjFLMab (ORCPT ); Mon, 12 Jun 2023 08:30:31 -0400 Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::221]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 126F498; Mon, 12 Jun 2023 05:30:20 -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=1686573019; 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=NIE4XthfYfgue+TiYRLnyKQDQmR/Am6iv4V0HmdFU7o=; b=nCIqawbr3Jd3MdBKhO2gX/ob47ElwOr7TI6dbXyK/DcIqoU7HsgSHZzUKMSFnJHM/4qBkg IzVnZt0fd0fvqYaHgR1uXgsQ49uqEtkNNPDxxP6yME6SXql31tM9D1cjd4QNaPllFjkRmb h6My7GYGPDrAMsHjXSAatlELkuCLMY0IiRj3R2YL0a0CbxsXiBKvXXMti3iXkZUmx2uEZY bLLyzNORLmerE2AIPt0GMncgvimSEnpwI3iamDAgqs8ev2DOC08a9ZtSpCaLvVbv+P8Ytx jHYvenA8pAMfOne62J7SeBLyMctSd/sDlj+TR+DLzhB553Fj3TSX0duwEZEV6Q== 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 CD272240021; Mon, 12 Jun 2023 12:30:16 +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, Christophe Leroy , Thomas Petazzoni Subject: [PATCH v3 08/12] iio: inkern: Replace a FIXME comment by a TODO one Date: Mon, 12 Jun 2023 14:29:22 +0200 Message-Id: <20230612122926.107333-9-herve.codina@bootlin.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230612122926.107333-1-herve.codina@bootlin.com> References: <20230612122926.107333-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_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE 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?1768501156262630860?= X-GMAIL-MSGID: =?utf-8?q?1768501156262630860?= 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 Reviewed-by: Andy Shevchenko --- 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 ae1a41d3a559..4331e74191cf 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;