Re: [PATCH] arm: sys_oabi-compat: Use kmalloc_array() in two functions

2016-08-26 Thread Russell King - ARM Linux
On Fri, Aug 26, 2016 at 03:22:29PM +0200, SF Markus Elfring wrote: > >> Multiplications for the size determination of memory allocations > >> indicated that array data structures should be processed. > > > > I'm afraid the above comment doesn't mean much to me, can you rephrase? > > Yes, of cours

Re: [PATCH] arm: sys_oabi-compat: Use kmalloc_array() in two functions

2016-08-26 Thread SF Markus Elfring
>> Multiplications for the size determination of memory allocations >> indicated that array data structures should be processed. > > I'm afraid the above comment doesn't mean much to me, can you rephrase? Yes, of course. How verbose should the explanation for this update suggestion become? > M

Re: [PATCH] arm: sys_oabi-compat: Use kmalloc_array() in two functions

2016-08-25 Thread Russell King - ARM Linux
On Thu, Aug 25, 2016 at 05:50:36PM +0200, SF Markus Elfring wrote: > From: Markus Elfring > Date: Thu, 25 Aug 2016 17:45:23 +0200 > > Multiplications for the size determination of memory allocations > indicated that array data structures should be processed. I'm afraid the above comment doesn't

Re: [PATCH] arm: sys_oabi-compat: Use kmalloc_array() in two functions

2016-08-25 Thread Nicolas Pitre
On Thu, 25 Aug 2016, SF Markus Elfring wrote: > From: Markus Elfring > Date: Thu, 25 Aug 2016 17:45:23 +0200 > > Multiplications for the size determination of memory allocations > indicated that array data structures should be processed. > Thus use the corresponding function "kmalloc_array". >