From: Konstantin Khlebnikov Date: Tue, 19 Apr 2011 09:47:15 +0000 (+0000) Subject: efifb: fix int to pointer cast warning X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=dc3e5b6a6e842116ec2436161adf31877f09b6b9;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git efifb: fix int to pointer cast warning drivers/video/efifb.c:247: warning: cast to pointer from integer of different size Signed-off-by: Konstantin Khlebnikov Signed-off-by: Peter Jones Signed-off-by: Paul Mundt --- diff --git a/drivers/video/efifb.c b/drivers/video/efifb.c index 4eb38db36e4b..fb205843c2c7 100644 --- a/drivers/video/efifb.c +++ b/drivers/video/efifb.c @@ -242,9 +242,9 @@ static int set_system(const struct dmi_system_id *id) return 0; } - printk(KERN_INFO "efifb: dmi detected %s - framebuffer at %p " + printk(KERN_INFO "efifb: dmi detected %s - framebuffer at 0x%08x " "(%dx%d, stride %d)\n", id->ident, - (void *)screen_info.lfb_base, screen_info.lfb_width, + screen_info.lfb_base, screen_info.lfb_width, screen_info.lfb_height, screen_info.lfb_linelength);