]> git.ipfire.org Git - thirdparty/linux.git/commit
virtio: uapi: avoid usage of libc types
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Mon, 22 Dec 2025 08:00:33 +0000 (09:00 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 26 Dec 2025 20:00:00 +0000 (15:00 -0500)
commit3c4629b68dbe18e454cce4b864c530268cffbeed
treeda9792244263cbfe747ffa7c9d1c58e123182e68
parentd8ee3cfdc89b75dc059dc21c27bef2c1440f67eb
virtio: uapi: avoid usage of libc types

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@linutronix.de>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20251222-uapi-virtio-v1-1-29390f87bcad@linutronix.de>
include/uapi/linux/virtio_ring.h