Commit 8feceb00 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] kyrofb warning fix

drivers/video/kyro/fbdev.c: In function `kyrofb_probe':
drivers/video/kyro/fbdev.c:736: warning: passing arg 1 of `memset' makes pointer from integer without a cast
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent a6c6304b
......@@ -733,7 +733,7 @@ static int __devinit kyrofb_probe(struct pci_dev *pdev,
info->var.bits_per_pixel);
size *= info->var.yres_virtual;
fb_memset((unsigned long)info->screen_base, 0, size);
fb_memset(info->screen_base, 0, size);
if (register_framebuffer(info) < 0)
goto out_unmap;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment