]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
virtio: do not export "u16" and "u64" to userspace
authorPaul Bolle <pebolle@tiscali.nl>
Mon, 1 Apr 2013 23:29:17 +0000 (09:59 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 2 Apr 2013 06:12:58 +0000 (16:42 +1030)
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>
include/uapi/linux/virtio_balloon.h

index 652dc8bea92131a4d3134fe6b59ae75cdc6092a8..5e26f61b5df58de55a50dfb927c311c2c9aceb12 100644 (file)
@@ -52,8 +52,8 @@ struct virtio_balloon_config
 #define VIRTIO_BALLOON_S_NR       6
 
 struct virtio_balloon_stat {
-       u16 tag;
-       u64 val;
+       __u16 tag;
+       __u64 val;
 } __attribute__((packed));
 
 #endif /* _LINUX_VIRTIO_BALLOON_H */