diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2016-09-17 11:44:55 +0200 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2016-09-26 23:06:17 +0530 |
commit | 28c01058b28527be2a81e8ba2a53437910defbf3 (patch) | |
tree | 4037c89e5f3cdc30e54d63cca4d4528c3d4a6b5f /arch | |
parent | e349d4b7317818cbb21096ead26420c80819ddd4 (diff) | |
download | linux-28c01058b28527be2a81e8ba2a53437910defbf3.tar.bz2 |
ste_dma40: Use kmalloc_array() in d40_hw_detect_init()
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 also by using the Coccinelle software.
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 'arch')
0 files changed, 0 insertions, 0 deletions