Skip to contentSkip to conversation

Video: fix compiler warnings in bus_vcxk

PATCH New Jens Scharsig (BuS Elektronik) 2 participants 2 messages Nov 14, 2012 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Video: fix compiler warnings in bus_vcxk

From: "Jens Scharsig (BuS Elektronik)" <[email protected]>

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

---
 drivers/video/bus_vcxk.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/video/bus_vcxk.c +1 -1
index 9c4714d..a0607cf 100644
@@ -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;
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 1/1 Video: fix compiler warnings in bus_vcxk

Hi,

Quoted 9 lines · On Wed, 14 Nov 2012 11:10:20 +0100 "Jens Scharsig (BuS Elektronik)"…

From: "Jens Scharsig (BuS Elektronik)" <[email protected]>

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

---
 drivers/video/bus_vcxk.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied to video/master. Thanks!

Anatolij