[PATCH] ide: Use kmalloc_array() in hwif_init()

2016-09-24 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 24 Sep 2016 09:39:03 +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

[PATCH] ide: Use kmalloc_array() in hwif_init()

2016-09-24 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 24 Sep 2016 09:39:03 +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 by using the Coccinelle