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

From: Christoph Hellwig
Date: Thu Jun 30 2011 - 04:01:31 EST


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.

Better fix the code to use the proper %zd specifier for printing ssize_t
variables.

--
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/