Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 0ffaeadf authored by Michael S. Tsirkin's avatar Michael S. Tsirkin
Browse files

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: default avatarMichael S. Tsirkin <mst@redhat.com>


parent e16e12be
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment