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 <khlebnikov@openvz.org> Signed-off-by: Peter Jones <pjones@redhat.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
parent
4f2970b9f6
commit
dc3e5b6a6e
@ -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);
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user