linux/drivers/media/usb/gspca
Alexey Khoroshilov b563a0d049 [media] gspca: fix dev_open() error path
If v4l2_fh_open() fails in dev_open(), gspca_dev->module left locked.
The patch adds module_put(gspca_dev->module) on this path.
Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
2013-08-21 05:18:31 -03:00
..
gl860 [media] gspca: Remove gspca-specific debug magic 2013-03-05 15:13:48 -03:00
m5602 [media] m5602_ov7660: return error at ov7660_init() 2013-03-22 09:46:48 -03:00
stv06xx [media] gspca: Remove gspca-specific debug magic 2013-03-05 15:13:48 -03:00
autogain_functions.c
benq.c [media] gspca: Remove gspca-specific debug magic 2013-03-05 15:13:48 -03:00
conex.c [media] gspca: Remove gspca-specific debug magic 2013-03-05 15:13:48 -03:00
cpia1.c [media] gspca: Remove gspca-specific debug magic 2013-03-05 15:13:48 -03:00
etoms.c [media] gspca: remove obsolete Kconfig macros 2013-03-29 08:19:26 -03:00
finepix.c [media] gspca: Update / fix various comments wrt workqueue usb_lock usage 2012-09-13 17:52:58 -03:00
gspca.c [media] gspca: fix dev_open() error path 2013-08-21 05:18:31 -03:00
gspca.h [media] gspca: remove g_chip_ident 2013-06-17 08:45:00 -03:00
jeilinj.c [media] gspca: Remove gspca-specific debug magic 2013-03-05 15:13:48 -03:00
jl2005bcd.c [media] gspca: Use module_usb_driver macro 2012-12-21 13:37:11 -02:00
jpeg.h
Kconfig
kinect.c [media] gspca_kinect: add Kinect for Windows USB id 2012-12-21 21:26:36 -02:00
konica.c [media] gspca: Remove gspca-specific debug magic 2013-03-05 15:13:48 -03:00
Makefile
mars.c
mr97310a.c [media] gspca: Remove gspca-specific debug magic 2013-03-05 15:13:48 -03:00
nw80x.c
ov519.c [media] gspca: Remove gspca-specific debug magic 2013-03-05 15:13:48 -03:00
ov534_9.c
ov534.c [media] gspca: Remove gspca-specific debug magic 2013-03-05 15:13:48 -03:00
pac207.c [media] gspca: Remove gspca-specific debug magic 2013-03-05 15:13:48 -03:00
pac7302.c [media] gspca: remove g_chip_ident 2013-06-17 08:45:00 -03:00
pac7311.c [media] gspca: Remove gspca-specific debug magic 2013-03-05 15:13:48 -03:00
pac_common.h [media] gspca: Remove gspca-specific debug magic 2013-03-05 15:13:48 -03:00
se401.c [media] usb/gspca/se401.c: use IS_ENABLED() macro 2013-02-05 14:54:10 -02:00
se401.h
sn9c20x.c [media] sn9c20x: the reg->size field wasn't filled in 2013-06-17 08:55:34 -03:00
sn9c2028.c [media] gspca: Remove gspca-specific debug magic 2013-03-05 15:13:48 -03:00
sn9c2028.h
sonixb.c [media] gspca-sonixb: Adjust hstart on sn9c103 + pas202 2013-05-07 09:41:49 -03:00
sonixj.c [media] gspca: Remove gspca-specific debug magic 2013-03-05 15:13:48 -03:00
spca500.c [media] gspca: Remove gspca-specific debug magic 2013-03-05 15:13:48 -03:00
spca501.c [media] gspca: Remove gspca-specific debug magic 2013-03-05 15:13:48 -03:00
spca505.c [media] gspca: Remove gspca-specific debug magic 2013-03-05 15:13:48 -03:00
spca506.c Drivers: media: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
spca508.c [media] gspca: Remove gspca-specific debug magic 2013-03-05 15:13:48 -03:00
spca561.c [media] gspca: Remove gspca-specific debug magic 2013-03-05 15:13:48 -03:00
spca1528.c [media] gspca: Remove gspca-specific debug magic 2013-03-05 15:13:48 -03:00
sq905.c [media] gspca: Remove gspca-specific debug magic 2013-03-05 15:13:48 -03:00
sq905c.c [media] gspca: Remove gspca-specific debug magic 2013-03-05 15:13:48 -03:00
sq930x.c [media] gspca: Remove gspca-specific debug magic 2013-03-05 15:13:48 -03:00
stk014.c
stv0680.c [media] gspca: Remove gspca-specific debug magic 2013-03-05 15:13:48 -03:00
sunplus.c [media] gspca: Remove gspca-specific debug magic 2013-03-05 15:13:48 -03:00
t613.c [media] usb/gspca/t613.c: use IS_ENABLED() macro 2013-02-05 14:54:37 -02:00
topro.c [media] v4l2: make vidioc_s_jpegcomp const 2012-09-26 10:43:04 -03:00
tv8532.c
vc032x.c [media] gspca: Remove gspca-specific debug magic 2013-03-05 15:13:48 -03:00
vicam.c [media] gspca: Update / fix various comments wrt workqueue usb_lock usage 2012-09-13 17:52:58 -03:00
w996Xcf.c [media] gspca: Remove gspca-specific debug magic 2013-03-05 15:13:48 -03:00
xirlink_cit.c [media] usb/gspca/xirlink_cit.c: use IS_ENABLED() macro 2013-02-05 14:54:40 -02:00
zc3xx-reg.h
zc3xx.c [media] gspca: Remove gspca-specific debug magic 2013-03-05 15:13:48 -03:00