commit | 73446966b9ab9da118bb905bdbb5e8d3a1826b25 | [log] [tgz] |
---|---|---|
author | Markus Elfring <elfring@users.sourceforge.net> | Sun Oct 09 16:12:13 2016 -0300 |
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | Wed Nov 16 12:18:18 2016 -0200 |
tree | 06dbb1059720f461e19f8975215dbcacf397a94a | |
parent | 26f61c0ddf0e191fdab5c15f00c4bf8f3544be6b [diff] |
[media] blackfin-capture: Use kcalloc() in bcap_init_sensor_formats() A multiplication for the size determination of a memory allocation indicated that an array data structure should be processed. Thus reuse the corresponding function "kcalloc". This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>