diff mbox

[01/13] powerpc/ps3: set_dabr takes an unsigned long

Message ID 20090114165450.ebbc11a7.sfr@canb.auug.org.au
State Not Applicable
Delegated to: Jeremy Kerr
Headers show

Commit Message

Stephen Rothwell Jan. 14, 2009, 5:54 a.m. UTC
Also silences this warning:

arch/powerpc/platforms/ps3/setup.c:275: warning: initialization from incompatible pointer type

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 arch/powerpc/platforms/ps3/setup.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

Geoff Levand Jan. 14, 2009, 10:52 p.m. UTC | #1
Hi Stephen,

Thanks for working through it and making these fixups.  I
tested the set applied onto Ben's powerpc tree and they
seem to work OK (with ps3_defconfig).

Stephen Rothwell wrote:
> Also silences this warning:
> 
> arch/powerpc/platforms/ps3/setup.c:275: warning: initialization from incompatible pointer type
> 
> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
> ---
>  arch/powerpc/platforms/ps3/setup.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

Acked-by: Geoff Levand <geoffrey.levand@am.sony.com>
diff mbox

Patch

diff --git a/arch/powerpc/platforms/ps3/setup.c b/arch/powerpc/platforms/ps3/setup.c
index 35f3e85..3331ccb 100644
--- a/arch/powerpc/platforms/ps3/setup.c
+++ b/arch/powerpc/platforms/ps3/setup.c
@@ -186,7 +186,7 @@  early_param("ps3flash", early_parse_ps3flash);
 #define prealloc_ps3flash_bounce_buffer()	do { } while (0)
 #endif
 
-static int ps3_set_dabr(u64 dabr)
+static int ps3_set_dabr(unsigned long dabr)
 {
 	enum {DABR_USER = 1, DABR_KERNEL = 2,};