aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKonstantin Khlebnikov <khlebnikov@openvz.org>2011-04-19 05:47:15 -0400
committerPaul Mundt <lethal@linux-sh.org>2011-05-24 02:31:38 -0400
commitdc3e5b6a6e842116ec2436161adf31877f09b6b9 (patch)
tree5e78ecbe420aa6651a1f5c582b4595a33b3fa3e4
parent4f2970b9f622ba180680a5892be6534cc58843e0 (diff)
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>
-rw-r--r--drivers/video/efifb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/efifb.c b/drivers/video/efifb.c
index 4eb38db36e4..fb205843c2c 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)
242 return 0; 242 return 0;
243 } 243 }
244 244
245 printk(KERN_INFO "efifb: dmi detected %s - framebuffer at %p " 245 printk(KERN_INFO "efifb: dmi detected %s - framebuffer at 0x%08x "
246 "(%dx%d, stride %d)\n", id->ident, 246 "(%dx%d, stride %d)\n", id->ident,
247 (void *)screen_info.lfb_base, screen_info.lfb_width, 247 screen_info.lfb_base, screen_info.lfb_width,
248 screen_info.lfb_height, screen_info.lfb_linelength); 248 screen_info.lfb_height, screen_info.lfb_linelength);
249 249
250 250