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

Skip to content
Commit 5fba13b5 authored by Michael S. Tsirkin's avatar Michael S. Tsirkin
Browse files

vhost: replace % with & on data path



We know vring num is a power of 2, so use &
to mask the high bits.

Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
parent 55564a02
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment