summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2016-10-12 10:15:34 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-11-16 12:59:44 -0200
commitb442c46f1b10f5e91025e36824362839ea3f3331 (patch)
treef1ca14dece69dc3ffad246639f4284261be4ff54 /tools/perf/scripts/python/stackcollapse.py
parent96ca88423605116c041b5e5a6ef3af685402afb1 (diff)
downloadkernel-b442c46f1b10f5e91025e36824362839ea3f3331.tar.gz
[media] DaVinci-VPIF-Capture: Use kcalloc() in vpif_probe()
* A multiplication for the size determination of a memory allocation indicated that an array data structure should be processed. Thus use the corresponding function "kcalloc". This issue was detected by using the Coccinelle software. * Replace the specification of a data type by a pointer dereference to make the corresponding size determination a bit safer according to the Linux coding style convention. 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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions