Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1308550 > unrolled thread

[PATCH] uapi: use __u8 from linux/types.h

Started byGleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
First post2016-01-13 17:20 +0100
Last post2016-01-13 17:30 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] uapi: use __u8 from linux/types.h Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org> - 2016-01-13 17:20 +0100
    Re: [PATCH] uapi: use __u8 from linux/types.h "Michael S. Tsirkin" <mst@redhat.com> - 2016-01-13 17:30 +0100

#1308550 — [PATCH] uapi: use __u8 from linux/types.h

FromGleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
Date2016-01-13 17:20 +0100
Subject[PATCH] uapi: use __u8 from linux/types.h
Message-ID<qQwjn-2ek-5@gated-at.bofh.it>
Kernel headers should use linux/types.h based definitions.

Signed-off-by: Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
---
 include/uapi/linux/virtio_gpu.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/uapi/linux/virtio_gpu.h b/include/uapi/linux/virtio_gpu.h
index 7a63faa..4b04ead 100644
--- a/include/uapi/linux/virtio_gpu.h
+++ b/include/uapi/linux/virtio_gpu.h
@@ -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)
-- 
glebfm

[toc] | [next] | [standalone]


#1308561

From"Michael S. Tsirkin" <mst@redhat.com>
Date2016-01-13 17:30 +0100
Message-ID<qQwt4-2jv-9@gated-at.bofh.it>
In reply to#1308550
On Wed, Jan 13, 2016 at 07:10:15PM +0300, Gleb Fotengauer-Malinovskiy wrote:
> Kernel headers should use linux/types.h based definitions.
> 
> Signed-off-by: Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>

Acked-by: Michael S. Tsirkin <mst@redhat.com>

> ---
>  include/uapi/linux/virtio_gpu.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/uapi/linux/virtio_gpu.h b/include/uapi/linux/virtio_gpu.h
> index 7a63faa..4b04ead 100644
> --- a/include/uapi/linux/virtio_gpu.h
> +++ b/include/uapi/linux/virtio_gpu.h
> @@ -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)
> -- 
> glebfm

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web