diff options
author | Markus Elfring <[email protected]> | 2016-09-16 17:56:07 +0200 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2016-09-26 23:06:16 +0530 |
commit | cf80ecf7a277e7908264f822c721f93403cf518f (patch) | |
tree | 3ebfc056b4a29efbb9dac70035fb715b52ae0adb /tools/perf/scripts/python/sched-migration.py | |
parent | 29b4817d4018df78086157ea3a55c1d9424a7cfc (diff) |
ste_dma40: Use kmalloc_array() in d40_lcla_allocate()
* 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]>
Reviewed-by: Linus Walleij <[email protected]>
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions