git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
NULL noise: drivers/media
[sfrench/cifs-2.6.git]
/
drivers
/
media
/
video
/
zoran_driver.c
diff --git
a/drivers/media/video/zoran_driver.c
b/drivers/media/video/zoran_driver.c
index dd3d7d2c8b0e38323ed29e2a9b21a6a429a46111..fea4946ee713c82d4b17eaff5864ccb943a9f545 100644
(file)
--- 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",