Re: [PATCH] virtio: uapi: avoid usage of libc types

From: Arnd Bergmann

Date: Mon Dec 22 2025 - 03:46:47 EST


On Mon, Dec 22, 2025, at 09:00, Thomas Weißschuh wrote:
> Using libc types and headers from the UAPI headers is problematic as it
> introduces a dependency on a full C toolchain.
>
> On Linux 'unsigned long' works as a replacement for 'uintptr_t' and does
> not depend on libc.
>
> Signed-off-by: Thomas Weißschuh <thomas.weissschuh@xxxxxxxxxxxxx>

Acked-by: Arnd Bergmann <arnd@xxxxxxxx>