aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/video/zoran_driver.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/media/video/zoran_driver.c b/drivers/media/video/zoran_driver.c
index d831ca16d9e9..1c14fa2bd411 100644
--- a/drivers/media/video/zoran_driver.c
+++ b/drivers/media/video/zoran_driver.c
@@ -339,10 +339,7 @@ v4l_fbuffer_alloc (struct file *file)
339 if (fh->v4l_buffers.buffer_size <= MAX_KMALLOC_MEM) { 339 if (fh->v4l_buffers.buffer_size <= MAX_KMALLOC_MEM) {
340 /* Use kmalloc */ 340 /* Use kmalloc */
341 341
342 mem = 342 mem = kmalloc(fh->v4l_buffers.buffer_size, GFP_KERNEL);
343 (unsigned char *) kmalloc(fh->v4l_buffers.
344 buffer_size,
345 GFP_KERNEL);
346 if (mem == 0) { 343 if (mem == 0) {
347 dprintk(1, 344 dprintk(1,
348 KERN_ERR 345 KERN_ERR