Re: [RFC] Splitting kernel headers and deprecating __KERNEL__

Paul Mackerras
2004-11-28T23:38:02Z

Greg KH writes:

> The justification is that it doesn't properly describe the variable size
> (think userspace 32 bit variable vs. kernelspace 32 bit variable.) We
> need to stick with the proper __u32 type variables for data that crosses
> the userspace/kernelspace boundry.

uint32_t is defined to be exactly 32 bits wide, so where's the problem
in using it instead of __u32 in the headers that describe the
user/kernel interface? (Ditto for uint{8,16,64}_t, of course.)

Paul.