Re: [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>")

From: randyf
Date: Mon Aug 22 2016 - 17:21:03 EST



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