On Sun, Aug 6, 2017 at 6:44 PM, Mikko Rapeli <[email protected]> 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 <[email protected]>
> Cc: Yair Shachar <[email protected]>
> Cc: Oded Gabbay <[email protected]>
> Cc: Andrew Lewycky <[email protected]>

Looks good to me,

Acked-by: Arnd Bergmann <[email protected]>

Reply via email to