Subject: Re: [PATCH v4 05/17] module: Switch load_info::len to size_t

From: Nicolas Schier <[email-masked]>
Date: Fri, 6 Feb 2026 09:30:08 +0100

On Tue, Jan 13, 2026 at 01:28:49PM +0100, Thomas Weißschuh wrote:
> Switching the types will make some later changes cleaner.
> size_t is also the semantically correct type for this field.
> 
> As both 'size_t' and 'unsigned int' are always the same size, this
> should be risk-free.

include/uapi/asm-generic/posix_types.h states:
| * Most 32 bit architectures use "unsigned int" size_t,
| * and all 64 bit architectures use "unsigned long" size_t.

Is that statement wrong?  Or did I mix up the context?

Kind regards,
Nicolas