Skip to content
Commit 2c77ae22 authored by Gerd Hoffmann's avatar Gerd Hoffmann
Browse files

drm/virtio: fix error check



The >= compare op must happen in cpu byte order, doing it in
little endian fails on big endian machines like s390.

Reported-by: default avatarSebastian Mitterle <smitterl@redhat.com>
Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
Reviewed-by: default avatarCornelia Huck <cohuck@redhat.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20200214080100.1273-1-kraxel@redhat.com
parent e11f5bd8
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