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

From: David Miller
Date: Mon Feb 20 2017 - 10:39:28 EST


From: Sowmini Varadhan <sowmini.varadhan@xxxxxxxxxx>
Date: Mon, 20 Feb 2017 10:37:22 -0500

> On (02/20/17 10:19), David Miller wrote:
>>
>> The correct fix it to use "__u8", "__u64", etc.
>
> So the rest of rds.h uses uint8_t, uint32_t etc
> Perhaps (I'm not sure of the origins) this was because
> of the shared OpenIB.org BSD license etc using __u8 in
> one place and uint8_t in another would seem inconsistent,
> at the very least.

The entire file should use the proper "__uX" kernel types
rather than the uint* ones.