kernel_optimize_test/drivers/media/usb
Mauro Carvalho Chehab 32654fba2f [media] gpsca: remove the risk of a division by zero
As reported by Coverity, there's a potential risk of a division
by zero on some calls to jpeg_set_qual(), if quality is zero.

As quality can't be 0 or lower than that, adds an extra clause
to cover this special case.

Coverity reports: CID#11922280, CID#11922293, CID#11922295

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
2014-04-08 11:01:12 -03:00
..
au0828
b2c2
cpia2
cx231xx
dvb-usb
dvb-usb-v2
em28xx
gspca [media] gpsca: remove the risk of a division by zero 2014-04-08 11:01:12 -03:00
hdpvr
pvrusb2
pwc
s2255
siano
stk1160 [media] stk1160: warrant a NUL terminated string 2014-04-08 11:00:52 -03:00
stkwebcam
tlg2300
tm6000
ttusb-budget
ttusb-dec
usbtv
usbvision
uvc
zr364xx
Kconfig
Makefile