linux/drivers/media
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
..
common
dvb-core
dvb-frontends [media] lgdt3305: include sleep functionality in lgdt3304_ops 2014-04-07 09:40:24 -03:00
firewire
i2c
mmc
parport
pci
platform [media] v4l: ti-vpe: retain v4l2_buffer flags for captured buffers 2014-04-07 09:44:25 -03:00
radio
rc
tuners [media] r820t: fix size and init values 2014-04-07 09:39:13 -03:00
usb [media] gpsca: remove the risk of a division by zero 2014-04-08 11:01:12 -03:00
v4l2-core
Kconfig
Makefile
media-device.c
media-devnode.c
media-entity.c