[PATCH v2 01/17] IB/mlx4: Use kcalloc() in mlx4_ib_alloc_pv_bufs()

2017-04-21 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 21 Apr 2017 10:21:01 +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 "kcalloc". This issue was detected

[PATCH v2 01/17] IB/mlx4: Use kcalloc() in mlx4_ib_alloc_pv_bufs()

2017-04-21 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 21 Apr 2017 10:21:01 +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 "kcalloc". This issue was detected by using the Coccinelle