]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/media/video/zoran/zoran_driver.c
V4L/DVB (10932): zoran: Don't frighten users with failed buffer allocation
[linux-2.6-omap-h63xx.git] / drivers / media / video / zoran / zoran_driver.c
index 1869d307a59d970b4f65f157137f66b546052776..e22378a4598b1a589fdb5db6f183207ebd3223af 100644 (file)
@@ -229,7 +229,8 @@ v4l_fbuffer_alloc (struct file *file)
                                ZR_DEVNAME(zr), i);
 
                //udelay(20);
-               mem = kmalloc(fh->buffers.buffer_size, GFP_KERNEL);
+               mem = kmalloc(fh->buffers.buffer_size,
+                             GFP_KERNEL | __GFP_NOWARN);
                if (!mem) {
                        dprintk(1,
                                KERN_ERR