summaryrefslogtreecommitdiff
path: root/drivers/virtio
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2020-08-05 12:39:36 +0300
committerMichael S. Tsirkin <mst@redhat.com>2020-08-05 18:08:41 +0300
commit64ffa39dc860fb9772225c694353f73eca5801c6 (patch)
tree547462f63d3b8f40c293bcd691533900c019a2de /drivers/virtio
parent83eb9db95eb453f1db651909ad4598c3d44ef1e1 (diff)
downloadlinux-64ffa39dc860fb9772225c694353f73eca5801c6.tar.xz
virtio_net: use LE accessors for speed/duplex
Speed and duplex config fields depend on VIRTIO_NET_F_SPEED_DUPLEX which being 63>31 depends on VIRTIO_F_VERSION_1. Accordingly, use LE accessors for these fields. Reported-by: Cornelia Huck <cohuck@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/virtio')
0 files changed, 0 insertions, 0 deletions