summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/zoran_driver.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-04-15 00:30:28 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-04-15 00:30:28 -0300
commit026810eff5e52b99a11e71acd0f56c13b4e41207 (patch)
treed650a9544fc5b4d788f00b77c5bf8e7e7a690634 /linux/drivers/media/video/zoran_driver.c
parentaad022d99cb9a72d6857c4bef808a52cdcb3e824 (diff)
downloadmediapointer-dvb-s2-026810eff5e52b99a11e71acd0f56c13b4e41207.tar.gz
mediapointer-dvb-s2-026810eff5e52b99a11e71acd0f56c13b4e41207.tar.bz2
Backport changeset 5fa1247a2b56f33f88432c24e109deaf91ef8281
From: Mauro Carvalho Chehab <mchehab@infradead.org> Original patch from Al Viro <viro@ftp.linux.org.uk> Date: Sat Mar 29 03:07:38 2008 +0000 NULL noise: drivers/media kernel-sync: Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/zoran_driver.c')
-rw-r--r--linux/drivers/media/video/zoran_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/zoran_driver.c b/linux/drivers/media/video/zoran_driver.c
index aede0b584..39b681f1f 100644
--- a/linux/drivers/media/video/zoran_driver.c
+++ b/linux/drivers/media/video/zoran_driver.c
@@ -353,7 +353,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",