[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <d077abbb-6a4b-4349-88be-0d90e23eb570@bootlin.com>
Date: Tue, 13 Jan 2026 09:41:58 +0100
From: Richard GENOUD <richard.genoud@...tlin.com>
To: Uwe Kleine-König <u.kleine-koenig@...libre.com>
Cc: Rob Herring <robh@...nel.org>, Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>, Chen-Yu Tsai <wens@...e.org>,
Jernej Skrabec <jernej.skrabec@...il.com>,
Samuel Holland <samuel@...lland.org>, Philipp Zabel
<p.zabel@...gutronix.de>, Thomas Petazzoni <thomas.petazzoni@...tlin.com>,
linux-pwm@...r.kernel.org, devicetree@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-sunxi@...ts.linux.dev,
linux-kernel@...r.kernel.org, Joao Schim <joao@...imsalabim.eu>
Subject: Re: [PATCH v2 2/4] pwm: sun50i: Add H616 PWM support
Hi Uwe,
>>>> + for (unsigned int i = 0; i < data->npwm; i++) {
>>>
>>> Huh, AFAIK we're not using declarations in for loops in the kernel.
>>
>> Actually, I've read somewhere (in LWN I guess) that Linus seems ok with that,
>> but I'll remove it if you prefer.
>
> If you find your source again, I'd be interested.
I took me some time, but I finally found it (thanks to Hervé):
https://lore.kernel.org/all/CAHk-=wiCOTW5UftUrAnvJkr6769D29tF7Of79gUjdQHS_TkF5A@mail.gmail.com/
>
> Best regards
> Uwe
Regards,
Richard
Powered by blists - more mailing lists