Thread (17 messages) 17 messages, 6 authors, 2026-01-22

Re: [PATCH v2 2/4] pwm: sun50i: Add H616 PWM support

From: Richard GENOUD <richard.genoud@bootlin.com>
Date: 2026-01-13 08:42:06
Also in: linux-arm-kernel, linux-pwm, linux-sunxi, lkml

Hi Uwe,
quoted
quoted
quoted
+	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/ (local)

Best regards
Uwe
Regards,
Richard
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help