Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755167Ab1F3JcW (ORCPT ); Thu, 30 Jun 2011 05:32:22 -0400 Received: from mail-fx0-f52.google.com ([209.85.161.52]:58108 "EHLO mail-fx0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750892Ab1F3JcP convert rfc822-to-8bit (ORCPT ); Thu, 30 Jun 2011 05:32:15 -0400 MIME-Version: 1.0 In-Reply-To: <20110630085633.GA31414@infradead.org> References: <20110629140630.5aefdda8.rdunlap@xenotime.net> <20110630080119.GA20802@infradead.org> <20110630085633.GA31414@infradead.org> Date: Thu, 30 Jun 2011 11:32:14 +0200 X-Google-Sender-Auth: TqDPDVw1_SNQFaA7R4L28M0MuK4 Message-ID: Subject: Re: Build regressions/improvements in v3.0-rc5 (ssize_t ???) From: Geert Uytterhoeven To: Christoph Hellwig Cc: Randy Dunlap , Linux Kernel Development , Mikael Starvik , Jesper Nilsson , linux-cris-kernel@axis.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1121 Lines: 28 On Thu, Jun 30, 2011 at 10:56, Christoph Hellwig wrote: > On Thu, Jun 30, 2011 at 10:43:47AM +0200, Geert Uytterhoeven wrote: >> > Better fix the code to use the proper %zd specifier for printing ssize_t >> > variables. >> >> We cannot, as that would break on all other platforms that use the >> correct ssize_t. > > %zd is specified as the correct format for ssize_t. And the code is already using that! But cris overrides ssize_t to a different type than expected by the compiler. Gr{oetje,eeting}s,                         Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.                                 -- Linus Torvalds -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/