Re: [PATCH] regcache: Store values more directly in maple trees

Mark Brown
2024-10-29T14:32:45Z

[-- Attachment #1: Type: text/plain, Size: 562 bytes --]

On Tue, Oct 29, 2024 at 03:26:41PM +0100, Geert Uytterhoeven wrote:
> On Thu, Sep 26, 2024 at 12:20 PM Mark Brown <broonie@kernel.org> wrote:

> > + * On 64 bit systems uintptr_t will be 64 bit but unsigned long 32 bit
> > + * so we can store the register values directly in the maple tree. We

> ... as this assumption is not true: "unsigned long" is 64-bit on
> 64-bit platforms (and 32-bit on 32-bit platforms).

You're right, I'm not sure what I was thinking there. I think it was
confusion caused by the spurious warnings generated with u64.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]