linux/drivers/staging
Mauro Carvalho Chehab a23deac60a media: imx-media-utils: fix a warning
The logic at find_format() is a little bit confusing even for
humans, and it tricks static code analyzers:

	drivers/staging/media/imx/imx-media-utils.c:259 find_format() error: buffer overflow 'array' 14 <= 20

Rewrite the logic in a way that it makes it clearer to understand,
while prevent static analyzers to produce false positives.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2018-03-22 09:35:22 -04:00
..
android staging: android: ion: Zero CMA allocated memory 2018-02-16 17:50:09 +01:00
board
ccree
clocking-wizard
comedi vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
dgnc
emxx_udc
fbtft
fsl-dpaa2
fsl-mc Staging/IIO fixes for 4.16-rc2 2018-02-22 12:05:43 -08:00
fwserial vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
gdm724x
goldfish
greybus vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
gs_fpgaboot
iio
ipx
irda vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
ks7010
lustre
media media: imx-media-utils: fix a warning 2018-03-22 09:35:22 -04:00
most vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
mt29f_spinand
ncpfs
netlogic
nvec
octeon
octeon-usb
olpc_dcon
pi433
rtl8188eu
rtl8192e
rtl8192u
rtl8712
rtl8723bs
rtlwifi
rts5208
skein
sm750fb
speakup vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
typec
unisys
vboxvideo
vc04_services
vme
vt6655
vt6656
wilc1000
wlan-ng
xgifb
Kconfig
Makefile