[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAK8P3a0JKTE2Gj1G6zALRj3bDfe7vRymkd3xrBuVwASSfO73cA@mail.gmail.com>
Date: Mon, 7 Aug 2017 17:01:30 +0200
From: Arnd Bergmann <arnd@...db.de>
To: Mikko Rapeli <mikko.rapeli@....fi>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Linux API <linux-api@...r.kernel.org>,
Yair Shachar <yair.shachar@....com>,
Oded Gabbay <oded.gabbay@...il.com>,
Andrew Lewycky <Andrew.Lewycky@....com>,
dri-devel <dri-devel@...ts.freedesktop.org>
Subject: Re: [PATCH v06 36/36] uapi linux/kfd_ioctl.h: use __u32 and __u64
instead of uint32_t and uint64_t
On Sun, Aug 6, 2017 at 6:44 PM, Mikko Rapeli <mikko.rapeli@....fi> wrote:
> Include <drm/drm.h> instead of <linux/types.h> which on Linux includes
> <linux/types.h> and on non-Linux platforms defines __u32 etc types.
>
> Fixes user space compilation errors like:
>
> linux/kfd_ioctl.h:33:2: error: unknown type name ‘uint32_t’
> uint32_t major_version; /* from KFD */
> ^~~~~~~~
>
> Signed-off-by: Mikko Rapeli <mikko.rapeli@....fi>
> Cc: Yair Shachar <yair.shachar@....com>
> Cc: Oded Gabbay <oded.gabbay@...il.com>
> Cc: Andrew Lewycky <Andrew.Lewycky@....com>
Looks good to me,
Acked-by: Arnd Bergmann <arnd@...db.de>
Powered by blists - more mailing lists