diff options
| author | Markus Elfring <[email protected]> | 2016-10-12 05:20:02 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2016-11-16 12:42:05 -0200 |
| commit | ed011a23c90796c386ae7004ef0823ade6583d21 (patch) | |
| tree | 08e619d50567b89b7808ada7298fbc1d4185d7e1 /tools/perf/scripts/python/bin | |
| parent | 630bf79a455bbb5fd13e7721280cd149860bcd56 (diff) | |
[media] DaVinci-VPFE-Capture: Use kmalloc_array() in vpfe_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 "kmalloc_array".
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/bin')
0 files changed, 0 insertions, 0 deletions