efifb: fix int to pointer cast warning
authorKonstantin Khlebnikov <khlebnikov@openvz.org>
Tue, 19 Apr 2011 09:47:15 +0000 (09:47 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 24 May 2011 06:31:38 +0000 (15:31 +0900)
drivers/video/efifb.c:247: warning: cast to pointer from integer of different size

Signed-off-by: Konstantin Khlebnikov <khlebnikov@openvz.org>
Signed-off-by: Peter Jones <pjones@redhat.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/video/efifb.c

index 4eb38db36e4b4a3c9d50e6a169cd71fd088ba8cb..fb205843c2c726da59b7f5f20c0c338ddba005d6 100644 (file)
@@ -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);