[PATCH 16/18] mtd-cfi_cmdset_0020: Use kmalloc_array() in cfi_staa_setup()

2017-01-11 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 11 Jan 2017 19:33:48 +0100 * 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 16/18] mtd-cfi_cmdset_0020: Use kmalloc_array() in cfi_staa_setup()

2017-01-11 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 11 Jan 2017 19:33:48 +0100 * 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