Re: [PATCH v4 06/10] regmap: irq: Add support for chips without separate IRQ status

From: Mark Brown
Date: Wed Feb 26 2025 - 08:18:36 EST


On Fri, Feb 14, 2025 at 05:18:17PM +0200, Andy Shevchenko wrote:
> On Fri, Feb 14, 2025 at 12:49:56PM +0100, Mathieu Dubois-Briand wrote:

> > + int ret, i;

> unsigned int i;
> ?

If it's just an iterator it's idiomatic to use signed ints. IIRC if it
makes a difference to the code generation it's likely to be positive.

Attachment: signature.asc
Description: PGP signature