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

Christoph Hellwig
2011-06-30T08:01:28Z

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.