diff options
| author | Markus Elfring <[email protected]> | 2016-10-12 10:15:34 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2016-11-16 12:59:44 -0200 |
| commit | b442c46f1b10f5e91025e36824362839ea3f3331 (patch) | |
| tree | f1ca14dece69dc3ffad246639f4284261be4ff54 /tools/perf/scripts/python | |
| parent | 96ca88423605116c041b5e5a6ef3af685402afb1 (diff) | |
[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 <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions