[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201f221c-1fc0-4a90-a2f3-7ae8dc31a7e5@sirena.org.uk>
Date: Tue, 8 Apr 2025 12:08:54 +0100
From: Mark Brown <broonie@...nel.org>
To: Alexis Czezar Torreno <alexisczezar.torreno@...log.com>
Cc: Liam Girdwood <lgirdwood@...il.com>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>, linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org
Subject: Re: [PATCH v5 2/2] regulator: adp5055: Add driver for adp5055
On Tue, Apr 08, 2025 at 12:25:49PM +0800, Alexis Czezar Torreno wrote:
> Add ADI ADP5055 driver support. The device consists
> of 3 buck regulators able to connect to high input voltages of up to 18V
> with no preregulators.
This breaks an x86_64 allmodconfig build with clang-19:
/build/stage/linux/drivers/regulator/adp5055-regulator.c:169:3: error: variable 'i' is incremented both in the loop header and in the loop body [-Werror,-Wfor-loop-analysis]
169 | i++;
| ^
/build/stage/linux/drivers/regulator/adp5055-regulator.c:160:34: note: incremented here
160 | for (i = 0; i < ADP5055_NUM_CH; i++) {
| ^
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists