[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <AE90C24D6B3A694183C094C60CF0A2F6026B6E91@saturn3.aculab.com>
Date: Wed, 7 Mar 2012 13:18:01 -0000
From: "David Laight" <David.Laight@...LAB.COM>
To: "Liu Gang" <Gang.Liu@...escale.com>,
<linuxppc-dev@...ts.ozlabs.org>, <Alexandre.Bounine@....com>
Cc: <r58472@...escale.com>, <linux-kernel@...r.kernel.org>,
<r61911@...escale.com>, <paul.gortmaker@...driver.com>,
<akpm@...ux-foundation.org>,
"Shaohui Xie" <Shaohui.Xie@...escale.com>
Subject: RE: [PATCH v2] powerpc/srio: Fix the compile errors when building with 64bit
> 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,
> int ret = 0;
>
> 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,
> + (unsigned long)buffer, len);
Should 'buffer' be printed with %p ??
David
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists