aboutsummaryrefslogtreecommitdiffstats
path: root/tools/virtio
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2014-11-27 13:29:24 +0200
committerMichael S. Tsirkin <mst@redhat.com>2014-12-09 12:05:23 +0200
commit0ffaeadfc451a11b5da35578b2f9b977f9f46489 (patch)
tree930739568abe771406bd9e9a01c11c8707958f42 /tools/virtio
parentvirtio: use u32, not bitmap for features (diff)
downloadlinux-dev-0ffaeadfc451a11b5da35578b2f9b977f9f46489.tar.xz
linux-dev-0ffaeadfc451a11b5da35578b2f9b977f9f46489.zip
mic_virtio: robust feature array size calculation
mic reads sizeof(vdev->features) bits from device, but in fact it stores bits in local features variable. use sizeof(features) to make code robust against future changes extending sizeof(vdev->features). Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'tools/virtio')
0 files changed, 0 insertions, 0 deletions