Commit 77d21f23 authored by stephen hemminger's avatar stephen hemminger Committed by David S. Miller
Browse files

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 986a4f4d

  Author: Jason Wang <>
  Date:   Fri Dec 7 07:04:56 2012 +0000

    virtio_net: multiqueue support
Signed-off-by: default avatarStephen Hemminger <>
Signed-off-by: default avatarDavid S. Miller <>
parent f8ce1faf
......@@ -191,7 +191,7 @@ struct virtio_net_ctrl_mac {
* specified.
struct virtio_net_ctrl_mq {
u16 virtqueue_pairs;
__u16 virtqueue_pairs;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment