summaryrefslogtreecommitdiff
path: root/drivers/video/fbdev/mb862xx/mb862xxfb_accel.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/fbdev/mb862xx/mb862xxfb_accel.c')
-rw-r--r--drivers/video/fbdev/mb862xx/mb862xxfb_accel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/mb862xx/mb862xxfb_accel.c b/drivers/video/fbdev/mb862xx/mb862xxfb_accel.c
index fe92eed6da70..8dd296d257dd 100644
--- a/drivers/video/fbdev/mb862xx/mb862xxfb_accel.c
+++ b/drivers/video/fbdev/mb862xx/mb862xxfb_accel.c
@@ -245,7 +245,7 @@ static void mb86290fb_imageblit(struct fb_info *info,
return;
}
- cmd = kmalloc(cmdlen * 4, GFP_DMA);
+ cmd = kmalloc_array(cmdlen, 4, GFP_DMA);
if (!cmd)
return cfb_imageblit(info, image);
cmdfn(cmd, step, dx, dy, width, height, fgcolor, bgcolor, image, info);