diff options
| author | Markus Elfring <elfring@users.sourceforge.net> | 2016-10-12 10:30:44 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-11-16 13:01:44 -0200 |
| commit | d5cf467ecec5a3924a602018c6e405ad6d0dbecc (patch) | |
| tree | 3cd2c5625d97cb770bbed65f15abe081f388b893 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | c64d61df9a5d67e50ed347287d80a4b75e9d660d (diff) | |
| download | kernel-d5cf467ecec5a3924a602018c6e405ad6d0dbecc.tar.gz | |
[media] DaVinci-VPIF-Display: 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/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
