Patchwork [U-Boot] Video: fix compiler warnings in bus_vcxk

login
register
mail settings
Submitter esw@bus-elektronik.de
Date Nov. 14, 2012, 10:10 a.m.
Message ID <1352887820-23213-1-git-send-email-esw@bus-elektronik.de>
Download mbox | patch
Permalink /patch/198858/
State Accepted
Delegated to: Anatolij Gustschin
Headers show

Comments

esw@bus-elektronik.de - Nov. 14, 2012, 10:10 a.m.
From: "Jens Scharsig (BuS Elektronik)" <esw@bus-elektronik.de>

if a board uses the vcxk driver option CONFIG_SYS_VCXK_DOUBLEBUFFERD,
compilier shows warnings. This patch will fix it.

Signed-off-by: Jens Scharsig (BuS Elektronik) <esw@bus-elektronik.de>
---
 drivers/video/bus_vcxk.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Anatolij Gustschin - Nov. 14, 2012, 11:30 a.m.
Hi,

On Wed, 14 Nov 2012 11:10:20 +0100
"Jens Scharsig (BuS Elektronik)" <esw@bus-elektronik.de> wrote:

> From: "Jens Scharsig (BuS Elektronik)" <esw@bus-elektronik.de>
> 
> if a board uses the vcxk driver option CONFIG_SYS_VCXK_DOUBLEBUFFERD,
> compilier shows warnings. This patch will fix it.
> 
> Signed-off-by: Jens Scharsig (BuS Elektronik) <esw@bus-elektronik.de>
> ---
>  drivers/video/bus_vcxk.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied to video/master. Thanks!

Anatolij

Patch

diff --git a/drivers/video/bus_vcxk.c b/drivers/video/bus_vcxk.c
index 9c4714d..a0607cf 100644
--- a/drivers/video/bus_vcxk.c
+++ b/drivers/video/bus_vcxk.c
@@ -153,7 +153,7 @@  int vcxk_init(unsigned long width, unsigned long height)
 #ifdef CONFIG_SYS_VCXK_DOUBLEBUFFERED
 	double_bws_word  = (u_short *)double_bws;
 	double_bws_long  = (u_long *)double_bws;
-	debug("%lx %lx %lx \n", double_bws, double_bws_word, double_bws_long);
+	debug("%px %px %px\n", double_bws, double_bws_word, double_bws_long);
 #endif
 	display_width  = width;
 	display_height = height;