Re: [PATCH 22/29] IB/mlx4: Use kmalloc_array() in alloc_proxy_bufs()

2017-02-19 Thread Majd Dibbiny
> On Feb 18, 2017, at 11:12 PM, SF Markus Elfring > wrote: > > From: Markus Elfring > Date: Sat, 18 Feb 2017 16:56:52 +0100 > > * A multiplication for the size determination of a memory allocation > indicated that an array data structure should be processed. > Thus use the corresponding fun

[PATCH 22/29] IB/mlx4: Use kmalloc_array() in alloc_proxy_bufs()

2017-02-18 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 18 Feb 2017 16:56:52 +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 s