From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Tue, 18 Sep 2012 21:23:13 +0200 Subject: [U-Boot] [U-Boot, 1/3] dm: sparc: net: Fixup greth compile warnings In-Reply-To: <20120918190358.GB19861@bill-the-cat> References: <1343412274-21500-1-git-send-email-marex@denx.de> <20120918190358.GB19861@bill-the-cat> Message-ID: <201209182123.13408.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Tom Rini, > On Fri, Jul 27, 2012 at 08:04:32AM -0000, Marek Vasut wrote: > > greth.c: In function ???greth_recv???: > > greth.c:507:3: warning: format ???%lx??? expects argument of type ???long > > unsigned int???, but argument 2 has type ???unsigned int??? [-Wformat] > > greth.c:507:3: warning: format ???%lx??? expects argument of type > > ???long unsigned int???, but argument 3 has type ???unsigned int??? > > [-Wformat] greth.c:541:6: warning: pointer targets in assignment differ > > in signedness [-Wpointer-sign] greth.c: In function > > ???greth_initialize???: > > greth.c:623:2: warning: format ???%lx??? expects argument of type ???long > > unsigned int???, but argument 2 has type ???struct greth_regs *??? > > [-Wformat] greth.c:655:3: warning: format ???%x??? expects argument of > > type ???unsigned int???, but argument 2 has type ???struct greth_regs > > *??? [-Wformat] greth.c:684:2: warning: format ???%x??? expects argument > > of type ???unsigned int???, but argument 2 has type ???struct greth_regs > > *??? [-Wformat] > > > > Signed-off-by: Marek Vasut > > Cc: Joe Hershberger > > Cc: Daniel Hellstrom > > Cc: u-boot-dm at lists.denx.de > > Applied to u-boot/master, thanks! I wonder if we shouldn't throw all that sparc crap away ... same with m68k. It's starting to rot, noone uses it anymore anyway. Best regards, Marek Vasut