Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758381Ab1F3HXu (ORCPT ); Thu, 30 Jun 2011 03:23:50 -0400 Received: from anubis.se.axis.com ([195.60.68.12]:51135 "EHLO anubis.se.axis.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753826Ab1F3HXo (ORCPT ); Thu, 30 Jun 2011 03:23:44 -0400 X-Greylist: delayed 459 seconds by postgrey-1.27 at vger.kernel.org; Thu, 30 Jun 2011 03:23:44 EDT From: Mikael Starvik To: Geert Uytterhoeven , Randy Dunlap CC: Linux Kernel Development , Jesper Nilsson , linux-cris-kernel Date: Thu, 30 Jun 2011 09:16:00 +0200 Subject: RE: Build regressions/improvements in v3.0-rc5 (ssize_t ???) Thread-Topic: Build regressions/improvements in v3.0-rc5 (ssize_t ???) Thread-Index: Acw29C8hgNnhPh6GRcqoIumElpXdogAATLig Message-ID: <4BEA3FF3CAA35E408EA55C7BE2E61D055C63F4D597@xmail3.se.axis.com> References: <20110629140630.5aefdda8.rdunlap@xenotime.net> In-Reply-To: Accept-Language: sv-SE Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: sv-SE Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by mail.home.local id p5U7NuBs027258 Content-Length: 2537 Lines: 56 >The "long" should be "int". >But probably it should just include instead. Agreed. We won´t be able to test and push something like that before vacation but feel free to test that change and commit it if it works. Otherwise we'll fix it after vacations. /Mikael -----Original Message----- From: geert.uytterhoeven@gmail.com [mailto:geert.uytterhoeven@gmail.com] On Behalf Of Geert Uytterhoeven Sent: den 30 juni 2011 08:59 To: Randy Dunlap Cc: Linux Kernel Development; Mikael Starvik; Jesper Nilsson; linux-cris-kernel Subject: Re: Build regressions/improvements in v3.0-rc5 (ssize_t ???) On Wed, Jun 29, 2011 at 23:06, Randy Dunlap wrote: > On Wed, 29 Jun 2011 10:13:17 +0200 (CEST) Geert Uytterhoeven wrote: > >> *** WARNINGS *** >> >> 358 regressions: > >>   + drivers/net/wimax/i2400m/usb-fw.c: warning: format '%zd' expects type 'signed size_t', but argument 4 has type 'ssize_t':  => 210 >>   + drivers/net/wimax/i2400m/usb-fw.c: warning: format '%zd' expects type 'signed size_t', but argument 8 has type 'ssize_t':  => 222 > >>   + drivers/staging/bcm/Bcmchar.c: warning: format '%zd' expects type 'signed size_t', but argument 2 has type 'ssize_t':  => 146 >>   + drivers/staging/bcm/Bcmchar.c: warning: format '%zd' expects type 'signed size_t', but argument 3 has type 'ssize_t':  => 146 > >>   + net/sunrpc/auth_gss/auth_gss.c: warning: format '%Zd' expects type 'signed size_t', but argument 2 has type 'ssize_t':  => 708 >>   + net/sunrpc/auth_gss/auth_gss.c: warning: format '%zd' expects type 'signed size_t', but argument 3 has type 'ssize_t':  => 690 > > > Can someone explain these warnings, please?  (signed size_t vs. ssize_t) > > Is gcc confused? > Looks like a compiler issue to me. 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 instead. 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 ????{.n?+???????+%?????ݶ??w??{.n?+????{??G?????{ay?ʇڙ?,j??f???h?????????z_??(?階?ݢj"???m??????G????????????&???~???iO???z??v?^?m???? ????????I?