[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160113182546-mutt-send-email-mst@redhat.com>
Date: Wed, 13 Jan 2016 18:25:53 +0200
From: "Michael S. Tsirkin" <mst@...hat.com>
To: Gleb Fotengauer-Malinovskiy <glebfm@...linux.org>
Cc: David Airlie <airlied@...ux.ie>, Gerd Hoffmann <kraxel@...hat.com>,
dri-devel@...ts.freedesktop.org,
virtualization@...ts.linux-foundation.org,
linux-api@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] uapi: use __u8 from linux/types.h
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@...linux.org>
Acked-by: Michael S. Tsirkin <mst@...hat.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
Powered by blists - more mailing lists