History

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

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

Paul Bolle committed 13 years ago

Commit 608c3801 parent a8c76871 file · +2 −2Browse files

Showing the changes to include/uapi/linux (1 of 1 file). Show all

Unified · Split

include/uapi/linux/virtio_balloon.h+2−2
@@ -52,8 +52,8 @@ struct virtio_balloon_config · 51 unmodified lines
5252 #define VIRTIO_BALLOON_S_NR 6
5353
5454 struct virtio_balloon_stat {
55− u16 tag;
56− u64 val;
55+ __u16 tag;
56+ __u64 val;
5757 } __attribute__((packed));
5858
5959 #endif /* _LINUX_VIRTIO_BALLOON_H */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t