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

include/uapi/linux/virtio_gpu.h: use __u8 from <linux/types.h>

Kernel headers exported to userspace are should these types.

Fixes userspace compilation error:

error: unknown type name ‘uint8_t’

Signed-off-by: Mikko Rapeli <mikko.rapeli@iki.fi>

authored by

Mikko Rapeli and committed by
Gabriel Laskar
89545d6d 8e51012c

+1 -1
+1 -1
include/uapi/linux/virtio_gpu.h
··· 287 287 /* VIRTIO_GPU_RESP_OK_CAPSET */ 288 288 struct virtio_gpu_resp_capset { 289 289 struct virtio_gpu_ctrl_hdr hdr; 290 - uint8_t capset_data[]; 290 + __u8 capset_data[]; 291 291 }; 292 292 293 293 #define VIRTIO_GPU_EVENT_DISPLAY (1 << 0)