linux/drivers/media/pci
Peter Senna Tschudin 37e310edf3 [media] drivers/media/pci/saa7134/saa7134-dvb.c: Test if videobuf_dvb_get_frontend return NULL
Based on commit: e66131cee5
Not testing videobuf_dvb_get_frontend output may cause OOPS if it return
NULL. This patch fixes this issue.
The semantic patch that found this issue is(http://coccinelle.lip6.fr/):
// <smpl>
@@
identifier i,a,b;
statement S, S2;
@@
i = videobuf_dvb_get_frontend(...);
... when != if (!i) S
* if (i->a.b)
S2
// </smpl>

Signed-off-by: Peter Senna Tschudin <peter.senna@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-12-21 17:43:22 -02:00
..
b2c2
bt8xx [media] v4l: Convert drivers to use monotonic timestamps 2012-12-21 10:56:43 -02:00
cx18 [media] cx18: get rid of warning: no previous prototype 2012-10-27 17:58:14 -02:00
cx88 [media] v4l: Convert drivers to use monotonic timestamps 2012-12-21 10:56:43 -02:00
cx23885 [media] tda10071: make sure both tuner and demod i2c addresses are specified 2012-12-21 14:36:54 -02:00
cx25821 [media] v4l: Convert drivers to use monotonic timestamps 2012-12-21 10:56:43 -02:00
ddbridge
dm1105 [media] drivers/media/pci/dm1105/dm1105.c: fix error return code 2012-11-22 14:20:28 -02:00
ivtv [media] ivtv: ivtv-driver: Replace 'flush_work_sync()' 2012-12-20 15:22:30 -02:00
mantis [media] mantis: get rid of warning: no previous prototype 2012-10-27 18:05:22 -02:00
meye [media] v4l: Tell user space we're using monotonic timestamps 2012-12-21 11:20:51 -02:00
ngene [media] drivers/media/pci/ngene/ngene-core.c: fix error return code 2012-11-22 14:20:25 -02:00
pluto2
pt1
saa7134 [media] drivers/media/pci/saa7134/saa7134-dvb.c: Test if videobuf_dvb_get_frontend return NULL 2012-12-21 17:43:22 -02:00
saa7146
saa7164 [media] saa7134,saa7164: warning: comparison of unsigned fixes 2012-10-28 07:38:48 -02:00
sta2x11 [media] v4l: Convert drivers to use monotonic timestamps 2012-12-21 10:56:43 -02:00
ttpci [media] drivers/media/pci/ttpci/budget-av.c: fix error return code 2012-11-22 13:41:31 -02:00
zoran [media] v4l: Tell user space we're using monotonic timestamps 2012-12-21 11:20:51 -02:00
Kconfig
Makefile