summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorMarkus Elfring2016-09-17 11:44:55 +0200
committerVinod Koul2016-09-26 19:36:17 +0200
commit28c01058b28527be2a81e8ba2a53437910defbf3 (patch)
tree4037c89e5f3cdc30e54d63cca4d4528c3d4a6b5f /mm
parentste_dma40: Replace four kzalloc() calls by kcalloc() in d40_hw_detect_init() (diff)
downloadkernel-qcow2-linux-28c01058b28527be2a81e8ba2a53437910defbf3.tar.gz
kernel-qcow2-linux-28c01058b28527be2a81e8ba2a53437910defbf3.tar.xz
kernel-qcow2-linux-28c01058b28527be2a81e8ba2a53437910defbf3.zip
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 'mm')
0 files changed, 0 insertions, 0 deletions