linux/drivers/media/video/gspca
Mauro Carvalho Chehab 95f18be2e4 [media] gspca: Fix a warning for using len before filling it
The check for status errors is now before the check for len. That's
ok. However, the error printk's for the status error prints the URB
length. This generates this error:

drivers/media/video/gspca/gspca.c: In function ‘fill_frame’:
drivers/media/video/gspca/gspca.c:305:9: warning: ‘len’ may be used uninitialized in this function

The fix is as simple as moving the len init to happen before the checks.

Cc: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2010-12-29 08:17:14 -02:00
..
gl860 [media] gspca: Fix coding style issues 2010-10-21 14:50:06 -02:00
m5602 [media] gspca: Convert some uppercase hexadecimal values to lowercase 2010-12-29 08:16:33 -02:00
stv06xx [media] gspca-stv06xx: support bandwidth changing 2010-12-29 08:16:40 -02:00
benq.c [media] gspca: Fix coding style issues 2010-10-21 14:50:06 -02:00
coarse_expo_autogain.h V4L/DVB: gscpa_sonixb: Differentiate between sensors with a coarse and fine expo ctrl 2010-02-26 15:11:08 -03:00
conex.c [media] gspca: Fix coding style issues 2010-10-21 14:50:06 -02:00
cpia1.c [media] gspca - cpia1: Fix error check 2010-12-29 08:16:41 -02:00
etoms.c [media] gspca: Fix coding style issues 2010-10-21 14:50:06 -02:00
finepix.c V4L/DVB: gspca - all modules: Display error messages when gspca debug disabled 2010-10-21 01:05:53 -02:00
gspca.c [media] gspca: Fix a warning for using len before filling it 2010-12-29 08:17:14 -02:00
gspca.h [media] gspca: Use the global error status for get/set streamparm 2010-12-29 08:17:06 -02:00
jeilinj.c V4L/DVB: gspca - all modules: Display error messages when gspca debug disabled 2010-10-21 01:05:53 -02:00
jpeg.h V4L/DVB (11039): gspca - most jpeg subdrivers: Change the JPEG header creation. 2009-03-30 12:43:22 -03:00
Kconfig V4L/DVB: gspca_konica: New gspca subdriver for konica chipset using cams 2010-10-21 01:04:46 -02:00
konica.c [media] gspca: Fix coding style issues 2010-10-21 14:50:06 -02:00
Makefile V4L/DVB: gspca_konica: New gspca subdriver for konica chipset using cams 2010-10-21 01:04:46 -02:00
mars.c [media] gspca - mars: Add illuminator controls 2010-10-21 07:55:54 -02:00
mr97310a.c V4L/DVB: gspca - mr97310a: Declare static the constant tables 2010-10-21 01:06:21 -02:00
ov519.c [media] gspca - ov519: Bad detection of some ov7670 sensors 2010-12-29 08:17:06 -02:00
ov534_9.c [media] gspca - ov534_9: Remove an useless instruction 2010-12-29 08:17:06 -02:00
ov534.c [media] gspca: Use the global error status for get/set streamparm 2010-12-29 08:17:06 -02:00
pac207.c [media] gspca: Convert some uppercase hexadecimal values to lowercase 2010-12-29 08:16:33 -02:00
pac7302.c [media] gspca: Fix coding style issues 2010-10-21 14:50:06 -02:00
pac7311.c [media] gspca: Fix coding style issues 2010-10-21 14:50:06 -02:00
pac_common.h V4L/DVB: gspca_pac7302: much improved exposure control 2010-02-26 15:11:09 -03:00
sn9c20x.c [media] gspca/sn9c20x: Fix support for mt9m001 (mi1300) sensor 2010-12-29 08:17:00 -02:00
sn9c2028.c V4L/DVB: gspca - all modules: Display error messages when gspca debug disabled 2010-10-21 01:05:53 -02:00
sn9c2028.h V4L/DVB (13992): gspca_sn9c2028: New gspca subdriver 2010-02-26 15:10:39 -03:00
sonixb.c [media] gspca_sonixb: Add support for 0c45:602a 2010-12-29 08:17:01 -02:00
sonixj.c [media] gspca - sonixj: Simplify and clarify the hv7131r probe function 2010-12-29 08:16:32 -02:00
spca500.c V4L/DVB: gspca - all modules: Display error messages when gspca debug disabled 2010-10-21 01:05:53 -02:00
spca501.c [media] gspca: Fix coding style issues 2010-10-21 14:50:06 -02:00
spca505.c V4L/DVB: gspca - spca505: Remove the eeprom write commands of NxUltra 2010-10-21 01:06:19 -02:00
spca506.c V4L/DVB (13899): gspca - all subdrivers: Make control descriptors constant. 2010-02-26 15:10:29 -03:00
spca508.c [media] gspca: Fix coding style issues 2010-10-21 14:50:06 -02:00
spca561.c [media] gspca: Convert some uppercase hexadecimal values to lowercase 2010-12-29 08:16:33 -02:00
spca1528.c V4L/DVB: gspca - all modules: Display error messages when gspca debug disabled 2010-10-21 01:05:53 -02:00
sq905.c V4L/DVB: gspca - all modules: Display error messages when gspca debug disabled 2010-10-21 01:05:53 -02:00
sq905c.c [media] gspca - sq905c: Adds the Lego Bionicle 2010-12-29 08:17:05 -02:00
sq930x.c [media] gspca - sq930x: Fix a bad comment 2010-12-29 08:17:05 -02:00
stk014.c [media] gspca - stk014: Use the new video control mechanism 2010-10-21 01:18:28 -02:00
stv0680.c V4L/DVB: gspca - all modules: Display error messages when gspca debug disabled 2010-10-21 01:05:53 -02:00
sunplus.c [media] gspca: Fix coding style issues 2010-10-21 14:50:06 -02:00
t613.c [media] gspca: Convert some uppercase hexadecimal values to lowercase 2010-12-29 08:16:33 -02:00
tv8532.c [media] gspca: Convert some uppercase hexadecimal values to lowercase 2010-12-29 08:16:33 -02:00
vc032x.c V4L/DVB: gspca - all modules: Display error messages when gspca debug disabled 2010-10-21 01:05:53 -02:00
w996Xcf.c [media] gspca - ov519: Propagate errors to higher level 2010-12-29 08:16:42 -02:00
xirlink_cit.c [media] gspca_xirlink_cit: Add support camera button 2010-12-29 08:16:31 -02:00
zc3xx-reg.h V4L/DVB (9868): gspca - zc3xx: Remove the duplicated register names 2008-12-30 09:38:58 -02:00
zc3xx.c [media] gspca - zc3xx: Bad clocksetting for mt9v111_3 with 640x480 resolution 2010-12-29 08:16:32 -02:00