From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753835AbcAMQZ7 (ORCPT ); Wed, 13 Jan 2016 11:25:59 -0500 Received: from mx1.redhat.com ([209.132.183.28]:53059 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753243AbcAMQZ5 (ORCPT ); Wed, 13 Jan 2016 11:25:57 -0500 Date: Wed, 13 Jan 2016 18:25:53 +0200 From: "Michael S. Tsirkin" To: Gleb Fotengauer-Malinovskiy Cc: David Airlie , Gerd Hoffmann , dri-devel@lists.freedesktop.org, virtualization@lists.linux-foundation.org, linux-api@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] uapi: use __u8 from linux/types.h Message-ID: <20160113182546-mutt-send-email-mst@redhat.com> References: <20160113160958.GA29108@glebfm.cloud.tilaa.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160113160958.GA29108@glebfm.cloud.tilaa.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Acked-by: Michael S. Tsirkin > --- > 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