diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2015-11-29 13:34:44 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2015-12-07 17:28:10 +0200 |
commit | 5fba13b5cf5856e725de35665c37b647323d3b9a (patch) | |
tree | ddbe8a6688700a93fd7a53d7b16444a40e82729d /drivers/virtio | |
parent | 55564a02b2ad4dab0c29fd9391d5118592c7fdc8 (diff) | |
download | op-kernel-dev-5fba13b5cf5856e725de35665c37b647323d3b9a.zip op-kernel-dev-5fba13b5cf5856e725de35665c37b647323d3b9a.tar.gz |
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: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/virtio')
0 files changed, 0 insertions, 0 deletions