summaryrefslogtreecommitdiffstats
path: root/include/uapi
diff options
context:
space:
mode:
authorPaul Bolle <pebolle@tiscali.nl>2013-04-02 01:29:17 +0200
committerRusty Russell <rusty@rustcorp.com.au>2013-04-02 08:12:58 +0200
commit608c380c304ce017dfddbceff988ffd0a36636d9 (patch)
tree9c348bad9d7625323f3fd335aee10f77a7667bf9 /include/uapi
parentcaif_virtio: Check that vringh_config is not null (diff)
downloadlinux-608c380c304ce017dfddbceff988ffd0a36636d9.tar.xz
linux-608c380c304ce017dfddbceff988ffd0a36636d9.zip
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>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/virtio_balloon.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/uapi/linux/virtio_balloon.h b/include/uapi/linux/virtio_balloon.h
index 652dc8bea921..5e26f61b5df5 100644
--- a/include/uapi/linux/virtio_balloon.h
+++ b/include/uapi/linux/virtio_balloon.h
@@ -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 */