Re: [PATCH v06 36/36] uapi linux/kfd_ioctl.h: use __u32 and __u64 instead of uint32_t and uint64_t

From: Oded Gabbay
Date: Sat Sep 02 2017 - 08:34:09 EST


On Mon, Aug 7, 2017 at 6:01 PM, Arnd Bergmann <arnd@xxxxxxxx> wrote:
> On Sun, Aug 6, 2017 at 6:44 PM, Mikko Rapeli <mikko.rapeli@xxxxxx> 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@xxxxxx>
>> Cc: Yair Shachar <yair.shachar@xxxxxxx>
>> Cc: Oded Gabbay <oded.gabbay@xxxxxxxxx>
>> Cc: Andrew Lewycky <Andrew.Lewycky@xxxxxxx>
>
> Looks good to me,
>
> Acked-by: Arnd Bergmann <arnd@xxxxxxxx>

Thanks!
Applied to amdkfd -next tree

Oded