[PATCH] [POWERPC] Xilinx: Fix compile warnings
Stephen Rothwell
sfr at canb.auug.org.au
Thu May 1 01:47:18 EST 2008
Hi Kumar,
On Wed, 30 Apr 2008 10:25:46 -0500 (CDT) Kumar Gala <galak at 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 at canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20080501/46cfc38e/attachment.pgp>
More information about the Linuxppc-dev
mailing list