Re: [PATCH] x86/amd_nb: Use kmalloc_array() in amd_cache_gart()

2016-09-04 Thread Joe Perches
On Sun, 2016-09-04 at 21:08 +0200, SF Markus Elfring wrote: > * 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 Co

[PATCH] x86/amd_nb: Use kmalloc_array() in amd_cache_gart()

2016-09-04 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 4 Sep 2016 21:01:47 +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