summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2016-10-09 16:12:13 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-11-16 12:18:18 -0200
commit73446966b9ab9da118bb905bdbb5e8d3a1826b25 (patch)
tree06dbb1059720f461e19f8975215dbcacf397a94a /tools/perf/scripts/python
parent26f61c0ddf0e191fdab5c15f00c4bf8f3544be6b (diff)
downloadkernel-73446966b9ab9da118bb905bdbb5e8d3a1826b25.tar.gz
[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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions