[PATCH 06/14] 85xx/sbc8560: correct compilation if CONFIG_PHYS_ADDR_T_64BIT is set
Kumar Gala
galak at kernel.crashing.org
Wed Jul 20 00:18:59 EST 2011
On Jul 19, 2011, at 3:53 AM, Dmitry Eremin-Solenikov wrote:
> If CONFIG_PHYS_ADDR_T_64BIT is set, compilation of sbc8560 fails with
> the following error:
>
> arch/powerpc/platforms/85xx/sbc8560.c: In function ‘sbc8560_bdrstcr_init’:
> arch/powerpc/platforms/85xx/sbc8560.c:286: error: format ‘%x’ expects type ‘unsigned int’, but argument 2 has type ‘resource_size_t’
>
> Fix that by using %pR format instead of just printing the start of
> resource.
>
> Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>
> ---
> arch/powerpc/platforms/85xx/sbc8560.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
applied to next-3.2
- k
More information about the Linuxppc-dev
mailing list