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

Oded Gabbay oded.gabbay at gmail.com
Sat Sep 2 12:30:44 UTC 2017


On Mon, Aug 7, 2017 at 6:01 PM, Arnd Bergmann <arnd at arndb.de> wrote:
> On Sun, Aug 6, 2017 at 6:44 PM, Mikko Rapeli <mikko.rapeli at 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.rapeli at iki.fi>
>> Cc: Yair Shachar <yair.shachar at amd.com>
>> Cc: Oded Gabbay <oded.gabbay at gmail.com>
>> Cc: Andrew Lewycky <Andrew.Lewycky at amd.com>
>
> Looks good to me,
>
> Acked-by: Arnd Bergmann <arnd at arndb.de>

Thanks!
Applied to amdkfd -next tree

Oded


More information about the dri-devel mailing list