Re: [PATCH] VMCI: Use kmalloc_array() in qp_alloc_ppn_set()

2017-01-09 Thread Michal Hocko
On Sun 08-01-17 17:37:08, SF Markus Elfring wrote: > From: Markus Elfring > Date: Sun, 8 Jan 2017 14:04:10 +0100 > > Multiplications for the size determination of memory allocations > indicated that array data structures should be processed. > Thus use the corresponding function "kmalloc_array".

[PATCH] VMCI: Use kmalloc_array() in qp_alloc_ppn_set()

2017-01-08 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 8 Jan 2017 14:04:10 +0100 Multiplications for the size determination of memory allocations indicated that array data structures should be processed. Thus use the corresponding function "kmalloc_array". This issue was detected by using the Coccinelle software. Sig