summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx18
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-05-26 12:00:49 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-05-26 12:00:49 -0300
commitcf2c310a0889cdeb0bc711e69833b77007717bcd (patch)
tree58fd2d9677b13ab45ee7eecf8149effbd90f9215 /linux/drivers/media/video/cx18
parentb0674752e665f2b9f9b201c20341bdb326e881bb (diff)
parent3a06e7be6db2c2b35e97a92b23c9191888a07042 (diff)
downloadmediapointer-dvb-s2-cf2c310a0889cdeb0bc711e69833b77007717bcd.tar.gz
mediapointer-dvb-s2-cf2c310a0889cdeb0bc711e69833b77007717bcd.tar.bz2
merge: http://www.linuxtv.org/hg/~hverkuil/v4l-dvb
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/cx18')
-rw-r--r--linux/drivers/media/video/cx18/cx18-driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/cx18/cx18-driver.c b/linux/drivers/media/video/cx18/cx18-driver.c
index 165589348..d654b1d6e 100644
--- a/linux/drivers/media/video/cx18/cx18-driver.c
+++ b/linux/drivers/media/video/cx18/cx18-driver.c
@@ -607,7 +607,7 @@ static int __devinit cx18_probe(struct pci_dev *dev,
}
cx = kzalloc(sizeof(struct cx18), GFP_ATOMIC);
- if (cx == 0) {
+ if (!cx) {
spin_unlock(&cx18_cards_lock);
return -ENOMEM;
}