From: Stephen Rothwell <sfr@canb.auug.org.au>
To: Kumar Gala <galak@kernel.crashing.org>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: [PATCH] [POWERPC] Xilinx: Fix compile warnings
Date: Thu, 1 May 2008 01:47:18 +1000 [thread overview]
Message-ID: <20080501014718.bca63e31.sfr@canb.auug.org.au> (raw)
In-Reply-To: <Pine.LNX.4.64.0804301025270.19599@blarg.am.freescale.net>
[-- Attachment #1: Type: text/plain, Size: 951 bytes --]
Hi Kumar,
On Wed, 30 Apr 2008 10:25:46 -0500 (CDT) Kumar Gala <galak@kernel.crashing.org> wrote:
>
> arch/powerpc/sysdev/xilinx_intc.c: In function âxilinx_intc_initâ:
> arch/powerpc/sysdev/xilinx_intc.c:111: warning: format â%08Xâ expects type âunsigned intâ, but argument 2 has type âresource_size_tâ
> drivers/char/xilinx_hwicap/xilinx_hwicap.c: In function âhwicap_setupâ:
> drivers/char/xilinx_hwicap/xilinx_hwicap.c:626: warning: cast to pointer from integer of different size
> drivers/char/xilinx_hwicap/xilinx_hwicap.c:646: warning: format â%xâ expects type âunsigned intâ, but argument 6 has type âresource_size_tâ
If you compile with LANG=C, you don't get those strange annotations in
your error messages ...
The fix looks good though.
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2008-04-30 15:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-30 15:25 [PATCH] [POWERPC] Xilinx: Fix compile warnings Kumar Gala
2008-04-30 15:47 ` Stephen Rothwell [this message]
2008-04-30 16:39 ` Stephen Neuendorffer
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=20080501014718.bca63e31.sfr@canb.auug.org.au \
--to=sfr@canb.auug.org.au \
--cc=galak@kernel.crashing.org \
--cc=linuxppc-dev@ozlabs.org \
/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