Re: [PATCH 1/4] x86/smpboot: Use kmalloc_array() in smp_init_package_map()

2016-09-05 Thread Thomas Gleixner
On Mon, 5 Sep 2016, SF Markus Elfring wrote: > From: Markus Elfring > Date: Mon, 5 Sep 2016 08:30:20 +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_arr

[PATCH 1/4] x86/smpboot: Use kmalloc_array() in smp_init_package_map()

2016-09-05 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 5 Sep 2016 08:30:20 +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 so