[PATCH 07/24] ste_dma40: Use kmalloc_array() in d40_hw_detect_init()

2016-09-17 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 17 Sep 2016 11:44:55 +0200 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

[PATCH 07/24] ste_dma40: Use kmalloc_array() in d40_hw_detect_init()

2016-09-17 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 17 Sep 2016 11:44:55 +0200 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