Re: [PATCH] bus: arm-ccn: Use devm_kcalloc() in arm_ccn_probe()

2017-04-19 Thread Pawel Moll
On Wed, 2017-04-19 at 09:29 +0200, SF Markus Elfring wrote: > From: Markus Elfring > Date: Wed, 19 Apr 2017 09:12:43 +0200 > > Multiplications for the size determination of memory allocations > indicated that array data structures should be processed. > Thus use the corresponding function "devm_k

Re: [PATCH] bus: arm-ccn: Use devm_kcalloc() in arm_ccn_probe()

2017-04-19 Thread Mark Rutland
On Wed, Apr 19, 2017 at 09:29:24AM +0200, SF Markus Elfring wrote: > From: Markus Elfring > Date: Wed, 19 Apr 2017 09:12:43 +0200 > > Multiplications for the size determination of memory allocations > indicated that array data structures should be processed. > Thus use the corresponding function

[PATCH] bus: arm-ccn: Use devm_kcalloc() in arm_ccn_probe()

2017-04-19 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 19 Apr 2017 09:12:43 +0200 Multiplications for the size determination of memory allocations indicated that array data structures should be processed. Thus use the corresponding function "devm_kcalloc". This issue was detected by using the Coccinelle software. Sig