RE: [PATCH v2] powerpc/srio: Fix the compile errors when building with 64bit

2012-03-07 Thread Liu Gang
Hi, David, On Wed, 2012-03-07 at 13:18 +, David Laight wrote: > > pr_debug("RIO: fsl_add_outb_message(): destid %4.4x mbox %d > buffer " \ > > -"%8.8x len %8.8x\n", rdev->destid, mbox, (int)buffer, > len); > > +"%8.8lx len %8.8zx\n", rdev->destid, mbox, > > +

RE: [PATCH v2] powerpc/srio: Fix the compile errors when building with 64bit

2012-03-07 Thread David Laight
> diff --git a/arch/powerpc/sysdev/fsl_rmu.c b/arch/powerpc/sysdev/fsl_rmu.c > index 1548578..1bba6d1 100644 > --- a/arch/powerpc/sysdev/fsl_rmu.c > +++ b/arch/powerpc/sysdev/fsl_rmu.c > @@ -657,7 +658,8 @@ fsl_add_outb_message(struct rio_mport > *mport, struct rio_dev *rdev, int mbox, > in

[PATCH v2] powerpc/srio: Fix the compile errors when building with 64bit

2012-03-07 Thread Liu Gang
For the file "arch/powerpc/sysdev/fsl_rmu.c", there will be some compile errors while using the corenet64_smp_defconfig: .../fsl_rmu.c:315: error: cast from pointer to integer of different size .../fsl_rmu.c:320: error: cast to pointer from integer of different size .../fsl_rmu.c:320: error: cast