Re: [PATCH v2 3/5] gpio: rtd1625: Narrow variable scope in loops
From: Andy Shevchenko
Date: Fri Aug 14 2026 - 08:08:25 EST
On Fri, Aug 14, 2026 at 10:56:55AM +0800, Yu-Chun Lin wrote:
> Declare 'i' inside the for-loop header and 'hwirq' within the inner block
> where it's used to reduce variable visibility.
Sounds like it also can be split to two.
--
With Best Regards,
Andy Shevchenko