[PATCH 03/13] powerpc/ps3: the lv1_ routines have u64 parameters
Geoff Levand
geoffrey.levand at am.sony.com
Thu Jan 15 09:53:22 EST 2009
Stephen Rothwell wrote:
> We just fix up the reference parameters as the others are dealt with by
> arithmetic promotion rules and don't cause warnings.
>
> This removes warnings like this:
>
> arch/powerpc/platforms/ps3/interrupt.c:327: warning: passing argument 1 of 'lv1_construct_event_receive_port' from incompatible pointer type
>
> Also, these:
>
> drivers/ps3/ps3-vuart.c:462: warning: passing argument 4 of 'ps3_vuart_raw_read' from incompatible pointer type
> drivers/ps3/ps3-vuart.c:592: warning: passing argument 4 of 'ps3_vuart_raw_read' from incompatible pointer type
>
> Signed-off-by: Stephen Rothwell <sfr at canb.auug.org.au>
> ---
> arch/powerpc/platforms/ps3/interrupt.c | 8 +++---
> arch/powerpc/platforms/ps3/mm.c | 38 +++++++++++++++++-------------
> arch/powerpc/platforms/ps3/spu.c | 12 ++++++---
> arch/powerpc/platforms/ps3/system-bus.c | 4 ++-
> drivers/ps3/ps3-vuart.c | 24 ++++++++++---------
> 5 files changed, 49 insertions(+), 37 deletions(-)
Acked-by: Geoff Levand <geoffrey.levand at am.sony.com>
More information about the Linuxppc-dev
mailing list