From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id ECC38C44503 for ; Thu, 9 Jul 2026 08:48:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=IiAHDjJkEdv+j3uBL6iMQYnwaaAJqZhD3ZcDI+TWH/8=; b=RPKMusTJtiBm0C rg1tf1BIQObd78MP1pRB4EcSxN3P4XrPVHm3E1p9ndwVuwr05c+aE4g9xnEAwLDaNC7f6tdQ+Ifjv qXUKt1cwYwhtYWPt0sPCdWuEOK/cEXNNeUnr+PF0dZkY62M/sfRRvRuodF5pHpXAlFerwEKUIrDT5 5rz3Q+bmg1BUyvnmmKgt0CwaQD3/ZqkWqd3Cr/Ul0c11kvshYINsJKn/ONBSSDl4wBalH1yb4yw9s ZPcW9d0G8Q045Zh9Y7spW+0mJfhqzqclHpzWkoZP/5fw4ZnOF5U30Yjdb0RusVmYD4+8v9eVAbozi F8Z5R6XNZ+Puua3p72sA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1whkQp-00000001Us8-0nP1; Thu, 09 Jul 2026 08:48:31 +0000 Received: from sea.source.kernel.org ([2600:3c0a:e001:78e:0:1991:8:25]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1vwOcB-0000000A7u2-1UQZ; Sat, 28 Feb 2026 18:00:32 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sea.source.kernel.org (Postfix) with ESMTP id 10D7142B82; Sat, 28 Feb 2026 18:00:30 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id ED299C19423; Sat, 28 Feb 2026 17:59:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1772301629; bh=kHCRe4FxCpKOmGTFDbEGFmwKc5c1cbzYW9mRrhA/2zM=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Y5Ww6oOt+Lwkhhw6KzkZzqCLx2GB5Y6V/naeD+g/YVnGDnFJykP4eczgV77pSo6aG MwceHNzWz3tTt2nQUPDrqo4OH/XpY1QPEj4j2coQSntozKAfKLK4GkW1a2dH8TyfFX 5fZRLH0VdmJrHIj0bW/2HmeVqQPjJBYdjnqVErnT7/OV5v8nL9A1bM8hWX1+RqOS8L j+1xUXhbGCwz3WIiQx9BfetTOcQFR4X46hu07hQziT4+MpACIMVHSm6kKP/vnmJT2+ XJSlGPNpWjGSFDy3clti8s912U34ZnWDCJSJbRQ//cNsZce6q9IlsPUYRVrZhQYnRM 3szaWx8Sycbcw== Date: Sat, 28 Feb 2026 17:59:54 +0000 From: Jonathan Cameron To: David Lechner Cc: Francesco Lavra , Jonathan Corbet , Shuah Khan , Lars-Peter Clausen , Michael Hennerich , Lucas Stankus , Nuno =?UTF-8?B?U8Oh?= , Andy Shevchenko , Puranjay Mohan , Cosmin Tanislav , Ramona Gradinariu , Antoniu Miclaus , Petre Rodan , Dan Robertson , Benson Leung , Guenter Roeck , Jiri Kosina , Srinivas Pandruvada , Matti Vaittinen , Marcelo Schmitt , Esteban Blanc , Jorge Marques , Sergiu Cuciurean , Dragos Bogdan , Alisa-Dariana Roman , Trevor Gamblin , Renato Lui Geh , Eugen Hristev , Nicolas Ferre , Alexandre Belloni , Claudiu Beznea , Andreas Klinger , Paul Cercueil , Ramona Bolboaca , Marcus Folkesson , Kent Gustavsson , Matthias Brugger , AngeloGioacchino Del Regno , Frank Li , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Matteo Martelli , Marius Cristea , Heiko Stuebner , Maxime Coquelin , Alexandre Torgue , Kurt Borja , Francesco Dolcini , =?UTF-8?B?Sm/Do28=?= Paulo =?UTF-8?B?R29u?= =?UTF-8?B?w6dhbHZlcw==?= , Leonard =?UTF-8?B?R8O2aHJz?= , Oleksij Rempel , Haibo Chen , Salih Erim , Conall O'Griofa , Michal Simek , Gustavo Silva , Tomasz Duszynski , Roan van Dijk , Jyoti Bhayana , Mariel Tinaco , Nishant Malpani , Rui Miguel Silva , Linus Walleij , Lorenzo Bianconi , Alex Lanzano , Jagath Jog J , Jean-Baptiste Maneyrol , Remi Buisson , Christian Eggers , Mudit Sharma , Javier Carrasco , =?UTF-8?B?T25kxZllag==?= Jirman , Song Qiang , Dixit Parmar , Gerald Loacker , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, chrome-platform@lists.linux.dev, linux-input@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mips@vger.kernel.org, linux-mediatek@lists.infradead.org, imx@lists.linux.dev, linux-rockchip@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com Subject: Re: [PATCH v6 4/7] iio: Rename 'sign' field to `format` in struct iio_scan_type Message-ID: <20260228175954.1f0950a1@jic23-huawei> In-Reply-To: <120c7f33-4ca1-4d35-ac1b-b65362f1adfc@baylibre.com> References: <20260225100421.2366864-1-flavra@baylibre.com> <20260225101735.2368252-1-flavra@baylibre.com> <120c7f33-4ca1-4d35-ac1b-b65362f1adfc@baylibre.com> X-Mailer: Claws Mail 4.3.1 (GTK 3.24.51; x86_64-pc-linux-gnu) MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260228_100031_443057_2A1FA77A X-CRM114-Status: GOOD ( 14.68 ) X-Mailman-Approved-At: Thu, 09 Jul 2026 01:48:24 -0700 X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org On Wed, 25 Feb 2026 15:27:01 -0600 David Lechner wrote: > On 2/25/26 4:17 AM, Francesco Lavra wrote: > > This field is used to differentiate between signed and unsigned integers. > > A following commit will extend its use to in order to add support for non- > > integer scan elements; therefore, change its name from 'sign' to a more > > generic 'format'. > > > > Maybe Jonathan is OK with doing this all at once, but another alternative > could be to introduce a union to allow both names at the same time, then > we could make the change more gradually. Please do the union for v7. Not so much because I mind a global change, but more because the chances of merge conflicts are too high. Perhaps for this series just introduce the union and use it in the driver here. We can then chase it through the rest of the tree as a separate step. Alternatively leave it with a misleading name for now (so allow 'f' to be a magic sign value) and we can do the rename as a follow up. Jonathan _______________________________________________ Linux-rockchip mailing list Linux-rockchip@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-rockchip