On Sun, Aug 6, 2017 at 6:44 PM, Mikko Rapeli <mikko.rap...@iki.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.rap...@iki.fi>
> Cc: Yair Shachar <yair.shac...@amd.com>
> Cc: Oded Gabbay <oded.gab...@gmail.com>
> Cc: Andrew Lewycky <andrew.lewy...@amd.com>

Looks good to me,

Acked-by: Arnd Bergmann <a...@arndb.de>
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Reply via email to