Skip to content

Commit

Permalink
efifb: fix int to pointer cast warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Konstantin Khlebnikov authored and Paul Mundt committed May 24, 2011
1 parent 4f2970b commit dc3e5b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/video/efifb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);


Expand Down

0 comments on commit dc3e5b6

Please sign in to comment.