Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

virtio: do not export "u16" and "u64" to userspace

virtio_balloon.h exports "u16" and "u64" to userspace. Use "__u16" and
"__u64" instead.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

authored by

Paul Bolle and committed by
Rusty Russell
608c380c a8c7687b

+2 -2
+2 -2
include/uapi/linux/virtio_balloon.h
··· 52 52 #define VIRTIO_BALLOON_S_NR 6 53 53 54 54 struct virtio_balloon_stat { 55 - u16 tag; 56 - u64 val; 55 + __u16 tag; 56 + __u64 val; 57 57 } __attribute__((packed)); 58 58 59 59 #endif /* _LINUX_VIRTIO_BALLOON_H */