Re: [PATCH v1 1/1] regmap: irq: Use one way of setting all bits in the register

From: Mark Brown
Date: Thu Feb 06 2025 - 11:52:18 EST


On Thu, Feb 06, 2025 at 06:29:33PM +0200, Andy Shevchenko wrote:
> Currently there are two ways of how we represent all bits set, i.e.
> UINT_MAX and GENMASK(31, 0). Use the latter as the single way of
> doing that, which is crystal clear on how many bits we are talking
> about.

I think I'd rather go to UINT_MAX since it's more obviously correct if
we see platforms with int that isn't 32 bits.

Attachment: signature.asc
Description: PGP signature