aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/zoran_driver.c
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2008-03-29 03:07:38 +0000
committerLinus Torvalds <torvalds@linux-foundation.org>2008-03-30 14:18:41 -0700
commit5fa1247a2b56f33f88432c24e109deaf91ef8281 (patch)
treedfecaeddc223a7649625a401a8f13bc67ae3414c /drivers/media/video/zoran_driver.c
parentfutex_compat __user annotation (diff)
downloadlinux-dev-5fa1247a2b56f33f88432c24e109deaf91ef8281.tar.xz
linux-dev-5fa1247a2b56f33f88432c24e109deaf91ef8281.zip
NULL noise: drivers/media
Acked-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
-rw-r--r--drivers/media/video/zoran_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/zoran_driver.c b/drivers/media/video/zoran_driver.c
index dd3d7d2c8b0e..fea4946ee713 100644
--- a/drivers/media/video/zoran_driver.c
+++ b/drivers/media/video/zoran_driver.c
@@ -339,7 +339,7 @@ v4l_fbuffer_alloc (struct file *file)
/* Use kmalloc */
mem = kmalloc(fh->v4l_buffers.buffer_size, GFP_KERNEL);
- if (mem == 0) {
+ if (!mem) {
dprintk(1,
KERN_ERR
"%s: v4l_fbuffer_alloc() - kmalloc for V4L buf %d failed\n",