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
..
2018-02-16 17:50:09 +01:00
2017-11-02 11:10:55 +01:00
2018-01-25 13:11:33 +01:00
2018-01-15 16:03:45 +01:00
2018-02-11 14:34:03 -08:00
2018-01-17 15:02:56 +01:00
2018-01-15 16:03:46 +01:00
2018-01-25 13:10:39 +01:00
2018-01-08 16:47:23 +01:00
2018-02-22 12:05:43 -08:00
2018-02-11 14:34:03 -08:00
2017-11-13 20:53:28 -08:00
2017-08-31 18:21:37 +02:00
2018-02-11 14:34:03 -08:00
2018-01-08 16:47:23 +01:00
2018-01-28 08:24:20 +00:00
2018-02-01 09:51:57 -08:00
2018-02-11 14:34:03 -08:00
2017-12-19 15:23:18 +01:00
2018-02-01 09:51:57 -08:00
2018-03-22 09:35:22 -04:00
2018-02-11 14:34:03 -08:00
2017-12-14 13:34:17 +01:00
2018-02-01 09:51:57 -08:00
2017-10-18 16:17:14 +02:00
2018-01-15 16:03:45 +01:00
2018-01-15 16:03:45 +01:00
2017-11-28 14:36:46 +01:00
2017-12-06 10:00:30 +01:00
2018-01-10 19:29:34 +01:00
2018-01-25 13:11:33 +01:00
2018-02-02 23:53:10 +09:00
2018-02-02 23:53:10 +09:00
2018-01-22 11:48:05 +01:00
2018-01-26 15:08:43 +01:00
2018-02-01 11:45:49 -08:00
2018-01-22 15:21:09 +01:00
2017-11-02 11:10:55 +01:00
2018-01-23 11:42:03 +01:00
2018-02-11 14:34:03 -08:00
2018-01-15 16:03:44 +01:00
2017-12-08 16:37:50 +01:00
2018-02-01 17:48:47 -08:00
2018-01-15 16:03:44 +01:00
2018-02-01 09:51:57 -08:00
2017-12-19 15:16:50 +01:00
2018-01-08 16:45:45 +01:00
2018-01-23 11:47:29 +01:00
2018-01-08 16:41:36 +01:00
2018-01-16 09:41:19 +01:00
2017-11-28 13:55:01 +01:00
2017-11-28 13:55:01 +01:00