projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8ce1fa
)
virtio: don't expose u16 in userspace api
author
stephen hemminger
<
[email protected]
>
Fri, 3 May 2013 14:49:41 +0000
(14:49 +0000)
committer
David S. Miller
<
[email protected]
>
Sun, 5 May 2013 20:58:01 +0000
(16:58 -0400)
Programs using virtio headers outside of kernel will no longer
build because u16 type does not exist in userspace. All user ABI
must use __u16 typedef instead.
Bug introduce by:
commit
986a4f4d452dec004697f667439d27c3fda9c928
Author: Jason Wang <
[email protected]
>
Date: Fri Dec 7 07:04:56 2012 +0000
virtio_net: multiqueue support
Signed-off-by: Stephen Hemminger <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
include/uapi/linux/virtio_net.h
patch
|
blob
|
history
diff --git
a/include/uapi/linux/virtio_net.h
b/include/uapi/linux/virtio_net.h
index a5a8c88753b9579e8bcc9caed170a6f859a163b1..c520203fac2f4b466f062e49f743e45391ac2f93 100644
(file)
--- a/
include/uapi/linux/virtio_net.h
+++ b/
include/uapi/linux/virtio_net.h
@@
-191,7
+191,7
@@
struct virtio_net_ctrl_mac {
* specified.
*/
struct virtio_net_ctrl_mq {
- u16 virtqueue_pairs;
+
__
u16 virtqueue_pairs;
};
#define VIRTIO_NET_CTRL_MQ 4