[RFC] Using C99 stdint vs kernel __uX types in kernel drmUAPI (was Re: [PATCH 1/2] Revert "include/uapi/drm/amdgpu_drm.h: use __u32 and __u64 from <linux/types.h>")

Ken Phillis Jr kphillisjr at gmail.com
Tue Aug 23 00:33:18 UTC 2016


On Mon, Aug 22, 2016 at 4:12 PM, <randyf at sibernet.com> wrote:

>
> On Mon, 22 Aug 2016, Emil Velikov wrote:
>
> Although last time around people leaned towards the __uX types, if we
>> have a consensus amongst drm (kernel) developers about using stdint
>> ones everything should be fine.
>> We just need a handful of acks from the different maintainers.
>>
>>
>   My opinion (as a non-Linux driver maintainer) is to use the stdint
> variants.  They are (or at least should be) supported by all OS's and
> compilers without any special modifications.
>
>
>   That said, it really isn't that hard for me to wrap the __uX types
> either.
>
>
>         ---- Randy
>

>


I believe it would be best to avoid __uX and __sX completely to prevent the
need for unnecessary wrapper calls.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160822/81caa154/attachment.html>


More information about the dri-devel mailing list