Re: Build regressions/improvements in v3.0-rc5 (ssize_t ???)

From: Andreas Schwab
Date: Thu Jun 30 2011 - 13:07:24 EST


Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> writes:

> On Thu, Jun 30, 2011 at 10:01, Christoph Hellwig <hch@xxxxxxxxxxxxx> wrote:
>> On Thu, Jun 30, 2011 at 08:59:28AM +0200, Geert Uytterhoeven wrote:
>>> Nope. Also only happens on cris, which has in
>>> arch/cris/include/asm/posix_types.h:
>>>
>>> typedef long      Â__kernel_ssize_t;
>>>
>>> The "long" should be "int".
>>> But probably it should just include <asm-generic/posix_types.h> instead.
>>
>> Changing a user visible type won't be very nice for those using it in
>> C++ code.
>
> Are __kernel_* types exported to C++ userspace?

Currently, no exported kernel header is using __kernel_ssize_t, so it
may not be too late to change cris.

Andreas.

--
Andreas Schwab, schwab@xxxxxxxxxxxxxx
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/