summaryrefslogtreecommitdiff
path: root/drivers/pps/Kconfig
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2010-12-27 15:00:03 (GMT)
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-12-29 10:17:14 (GMT)
commit95f18be2e4f74255b46fcc23a9718cca9c7375c9 (patch)
treef4b1e8593b02175db3a49623a8746336908d4660 /drivers/pps/Kconfig
parent2e94b53c55d00b4d4d4b9e65007566f7fbffab7a (diff)
downloadlinux-95f18be2e4f74255b46fcc23a9718cca9c7375c9.tar.xz
[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>
Diffstat (limited to 'drivers/pps/Kconfig')
0 files changed, 0 insertions, 0 deletions