Skip to contentSkip to conversation

uapi: use __u8 from linux/types.h

PATCH In review Gleb Fotengauer-Malinovskiy 2 participants 3 messages Jan 13, 2016

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 uapi: use __u8 from linux/types.h

Kernel headers should use linux/types.h based definitions.

---
 include/uapi/linux/virtio_gpu.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/uapi/linux/virtio_gpu.h +1 -1
index 7a63faa..4b04ead 100644
@@ -287,7 +287,7 @@ struct virtio_gpu_get_capset {
 /* VIRTIO_GPU_RESP_OK_CAPSET */
 struct virtio_gpu_resp_capset {
 	struct virtio_gpu_ctrl_hdr hdr;
-	uint8_t capset_data[];
+	__u8 capset_data[];
 };
 
 #define VIRTIO_GPU_EVENT_DISPLAY (1 << 0)
Signature · 1 line
glebfm
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 3 lines · Gleb Fotengauer-Malinovskiy

Kernel headers should use linux/types.h based definitions.

Quoted 19 lines
---
 include/uapi/linux/virtio_gpu.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/uapi/linux/virtio_gpu.h +1 -1
index 7a63faa..4b04ead 100644
@@ -287,7 +287,7 @@ struct virtio_gpu_get_capset {
 /* VIRTIO_GPU_RESP_OK_CAPSET */
 struct virtio_gpu_resp_capset {
 	struct virtio_gpu_ctrl_hdr hdr;
-	uint8_t capset_data[];
+	__u8 capset_data[];
 };
 
 #define VIRTIO_GPU_EVENT_DISPLAY (1 << 0)
Signature · 1 line
glebfm
maintainer Acked-by on v1 1/1
#2 lore raw
In reply to Gleb Fotengauer-Malinovskiy
Quoted 3 lines · Gleb Fotengauer-Malinovskiy

Kernel headers should use linux/types.h based definitions.

Quoted 19 lines
---
 include/uapi/linux/virtio_gpu.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/uapi/linux/virtio_gpu.h +1 -1
index 7a63faa..4b04ead 100644
@@ -287,7 +287,7 @@ struct virtio_gpu_get_capset {
 /* VIRTIO_GPU_RESP_OK_CAPSET */
 struct virtio_gpu_resp_capset {
 	struct virtio_gpu_ctrl_hdr hdr;
-	uint8_t capset_data[];
+	__u8 capset_data[];
 };
 
 #define VIRTIO_GPU_EVENT_DISPLAY (1 << 0)
Signature · 1 line
glebfm