mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Richard GENOUD <richard.genoud@bootlin.com>
To: "Uwe Kleine-König" <u.kleine-koenig@baylibre.com>
Cc: Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>, Chen-Yu Tsai <wens@csie.org>,
	Jernej Skrabec <jernej.skrabec@gmail.com>,
	Samuel Holland <samuel@sholland.org>,
	Philipp Zabel <p.zabel@pengutronix.de>,
	Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
	linux-pwm@vger.kernel.org, devicetree@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org,
	Joao Schim <joao@schimsalabim.eu>
Subject: Re: [PATCH v2 2/4] pwm: sun50i: Add H616 PWM support
Date: Tue, 13 Jan 2026 09:41:58 +0100	[thread overview]
Message-ID: <d077abbb-6a4b-4349-88be-0d90e23eb570@bootlin.com> (raw)
In-Reply-To: <mu3ciykmtxoaa24mdw7mofpdapbii23qrubw6uzptszok43tta@tq3rguupehwe>

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

  parent reply	other threads:[~2026-01-13  8:42 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-17  8:25 [PATCH v2 0/4] Introduce Allwinner H616 PWM controller Richard Genoud
2025-12-17  8:25 ` [PATCH v2 1/4] dt-bindings: pwm: allwinner: add h616 pwm compatible Richard Genoud
2025-12-18 10:15   ` Krzysztof Kozlowski
2025-12-18 10:41     ` Richard GENOUD
2025-12-21 18:52   ` Jernej Škrabec
2025-12-17  8:25 ` [PATCH v2 2/4] pwm: sun50i: Add H616 PWM support Richard Genoud
2025-12-24  9:54   ` Uwe Kleine-König
2026-01-06 11:19     ` Richard GENOUD
2026-01-06 16:27       ` Uwe Kleine-König
2026-01-06 16:58         ` Chen-Yu Tsai
2026-01-13  8:41         ` Richard GENOUD [this message]
2025-12-17  8:25 ` [PATCH v2 3/4] arm64: dts: allwinner: h616: add PWM controller Richard Genoud
2025-12-17  8:25 ` [PATCH v2 4/4] MAINTAINERS: Add entry on Allwinner H616 PWM driver Richard Genoud
2025-12-21 19:12 ` [PATCH v2 0/4] Introduce Allwinner H616 PWM controller Jernej Škrabec
2025-12-22  9:17   ` Richard GENOUD
2025-12-24  9:58     ` Uwe Kleine-König
2026-01-22 16:19 ` Paul Kocialkowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d077abbb-6a4b-4349-88be-0d90e23eb570@bootlin.com \
    --to=richard.genoud@bootlin.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=jernej.skrabec@gmail.com \
    --cc=joao@schimsalabim.eu \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pwm@vger.kernel.org \
    --cc=linux-sunxi@lists.linux.dev \
    --cc=p.zabel@pengutronix.de \
    --cc=robh@kernel.org \
    --cc=samuel@sholland.org \
    --cc=thomas.petazzoni@bootlin.com \
    --cc=u.kleine-koenig@baylibre.com \
    --cc=wens@csie.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®