diff options
author | 2016-09-16 17:56:07 +0200 | |
---|---|---|
committer | 2016-09-26 23:06:16 +0530 | |
commit | cf80ecf7a277e7908264f822c721f93403cf518f (patch) | |
tree | 3ebfc056b4a29efbb9dac70035fb715b52ae0adb /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Linux 4.8-rc1 (diff) | |
download | linux-dev-cf80ecf7a277e7908264f822c721f93403cf518f.tar.xz linux-dev-cf80ecf7a277e7908264f822c721f93403cf518f.zip |
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 <elfring@users.sourceforge.net>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions