Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

virtio_gpu: correct tags for config space fields

Since gpu is a modern-only device,
tag config space fields as having little endian-ness.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>

+4 -4
+4 -4
include/uapi/linux/virtio_gpu.h
··· 320 320 #define VIRTIO_GPU_EVENT_DISPLAY (1 << 0) 321 321 322 322 struct virtio_gpu_config { 323 - __u32 events_read; 324 - __u32 events_clear; 325 - __u32 num_scanouts; 326 - __u32 num_capsets; 323 + __le32 events_read; 324 + __le32 events_clear; 325 + __le32 num_scanouts; 326 + __le32 num_capsets; 327 327 }; 328 328 329 329 /* simple formats for fbcon/X use */