From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 042C6B6F81 for ; Wed, 20 Jul 2011 00:19:05 +1000 (EST) Subject: Re: [PATCH 06/14] 85xx/sbc8560: correct compilation if CONFIG_PHYS_ADDR_T_64BIT is set Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=windows-1252 From: Kumar Gala In-Reply-To: <1311065631-3429-7-git-send-email-dbaryshkov@gmail.com> Date: Tue, 19 Jul 2011 09:18:59 -0500 Message-Id: References: <1311065631-3429-1-git-send-email-dbaryshkov@gmail.com> <1311065631-3429-7-git-send-email-dbaryshkov@gmail.com> To: Dmitry Eremin-Solenikov Cc: Linux PPC Development , Paul Mackerras List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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: >=20 > arch/powerpc/platforms/85xx/sbc8560.c: In function = =91sbc8560_bdrstcr_init=92: > arch/powerpc/platforms/85xx/sbc8560.c:286: error: format =91%x=92 = expects type =91unsigned int=92, but argument 2 has type = =91resource_size_t=92 >=20 > Fix that by using %pR format instead of just printing the start of > resource. >=20 > Signed-off-by: Dmitry Eremin-Solenikov > --- > arch/powerpc/platforms/85xx/sbc8560.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) applied to next-3.2 - k=