[PATCH 02/13] powerpc/ps3: use dma_addr_t down through the stack

Geoff Levand geoffrey.levand at am.sony.com
Thu Jan 15 09:53:09 EST 2009


Stephen Rothwell wrote:
> Push the dma_addr_t type usage all the way down to where the actual
> values are manipulated.
> 
> Now that u64 is "unsigned long long", this removes warnings like:
> 
> arch/powerpc/platforms/ps3/system-bus.c:532: warning: passing argument 4 of 'ps3_dma_map' from incompatible pointer type
> arch/powerpc/platforms/ps3/system-bus.c:649: warning: passing argument 4 of 'ps3_dma_map' from incompatible pointer type
> 
> Signed-off-by: Stephen Rothwell <sfr at canb.auug.org.au>
> ---
>  arch/powerpc/include/asm/ps3.h          |    8 +++---
>  arch/powerpc/platforms/ps3/mm.c         |   32 ++++++++++++++++--------------
>  arch/powerpc/platforms/ps3/system-bus.c |    4 +-
>  3 files changed, 23 insertions(+), 21 deletions(-)

Acked-by: Geoff Levand <geoffrey.levand at am.sony.com>








More information about the Linuxppc-dev mailing list