Re: [PATCH] s390/cpum_cf: Use kmalloc_array() in merge_attr()

2016-09-05 Thread Hendrik Brueckner
On Sat, Sep 03, 2016 at 03:27:42PM +0200, SF Markus Elfring wrote: > From: Markus Elfring > Date: Sat, 3 Sep 2016 15:17:45 +0200 > > * A multiplication for the size determination of a memory allocation > indicated that an array data structure should be processed. > Thus reuse the correspondin

[PATCH] s390/cpum_cf: Use kmalloc_array() in merge_attr()

2016-09-03 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 3 Sep 2016 15:17:45 +0200 * A multiplication for the size determination of a memory allocation indicated that an array data structure should be processed. Thus reuse the corresponding function "kmalloc_array". * Replace the specification of a data type by a po