projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8c7687
)
virtio: do not export "u16" and "u64" to userspace
author
Paul Bolle
<pebolle@tiscali.nl>
Mon, 1 Apr 2013 23:29:17 +0000
(09:59 +1030)
committer
Rusty 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
patch
|
blob
|
history
diff --git
a/include/uapi/linux/virtio_balloon.h
b/include/uapi/linux/virtio_balloon.h
index
652dc8b
..
5e26f61
100644
(file)
--- 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 */