diff options
author | stephen hemminger <stephen@networkplumber.org> | 2013-05-03 10:49:41 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-05-05 16:58:01 -0400 |
commit | 77d21f23a1e4db8639e3916547c903a3b3c7a07c (patch) | |
tree | 193391695807d4e1a8c6c0612d30adfc73f85296 /include/uapi | |
parent | f8ce1faf55955de62e0a12e330c6d9a526071f65 (diff) |
virtio: don't expose u16 in userspace api
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 <jasowang@redhat.com>
Date: Fri Dec 7 07:04:56 2012 +0000
virtio_net: multiqueue support
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi')
-rw-r--r-- | include/uapi/linux/virtio_net.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/linux/virtio_net.h b/include/uapi/linux/virtio_net.h index a5a8c88753b9..c520203fac2f 100644 --- a/include/uapi/linux/virtio_net.h +++ b/include/uapi/linux/virtio_net.h | |||
@@ -191,7 +191,7 @@ struct virtio_net_ctrl_mac { | |||
191 | * specified. | 191 | * specified. |
192 | */ | 192 | */ |
193 | struct virtio_net_ctrl_mq { | 193 | struct virtio_net_ctrl_mq { |
194 | u16 virtqueue_pairs; | 194 | __u16 virtqueue_pairs; |
195 | }; | 195 | }; |
196 | 196 | ||
197 | #define VIRTIO_NET_CTRL_MQ 4 | 197 | #define VIRTIO_NET_CTRL_MQ 4 |