From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [U-Boot, 1/3] dm: sparc: net: Fixup greth compile warnings
Date: Tue, 18 Sep 2012 21:23:13 +0200 [thread overview]
Message-ID: <201209182123.13408.marex@denx.de> (raw)
In-Reply-To: <20120918190358.GB19861@bill-the-cat>
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 <marex@denx.de>
> > Cc: Joe Hershberger <joe.hershberger@gmail.com>
> > Cc: Daniel Hellstrom <daniel@gaisler.com>
> > 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
prev parent reply other threads:[~2012-09-18 19:23 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-27 18:04 [U-Boot] [PATCH 1/3] dm: sparc: net: Fixup greth compile warnings Marek Vasut
2012-07-27 18:04 ` [U-Boot] [PATCH 2/3] dm: sparc: common: Fixup cmd_bdinfo warnings Marek Vasut
2012-09-18 19:04 ` [U-Boot] [U-Boot, " Tom Rini
2012-07-27 18:04 ` [U-Boot] [PATCH 3/3] dm: sparc: Fixup the compile warnings in sparc code Marek Vasut
2012-09-18 19:04 ` [U-Boot] [U-Boot, " Tom Rini
2012-09-14 10:17 ` [U-Boot] [PATCH 1/3] dm: sparc: net: Fixup greth compile warnings Marek Vasut
2012-09-18 19:03 ` [U-Boot] [U-Boot, " Tom Rini
2012-09-18 19:23 ` Marek Vasut [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201209182123.13408.marex@denx.de \
--to=marex@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox