Re: [net-next][PATCH] RDS: keep data type consistent in the user visible header

From: Edward Cree
Date: Tue Feb 21 2017 - 09:59:33 EST

On 21/02/17 14:29, David Laight wrote:
>> The entire file should use the proper "__uX" kernel types
>> rather than the uint* ones.
> The uint* ones are part of the C standard :-)
> David
... which is exactly why we can't use them.

Visibility of <stdint.h> types is defined by a twisty maze of standards, all different (POSIX, SuS, BSD_SOURCE, XOPEN_SOURCE...).

__u8 and friends are in the reserved system namespace, so we can safely use them in user headers.