]> git.karo-electronics.de Git - karo-tx-linux.git/commit
bus: arm-ccn: Use devm_kcalloc() in arm_ccn_probe()
authorMarkus Elfring <elfring@users.sourceforge.net>
Wed, 19 Apr 2017 07:12:43 +0000 (09:12 +0200)
committerPawel Moll <pawel.moll@arm.com>
Fri, 23 Jun 2017 14:46:36 +0000 (15:46 +0100)
commit0a240c5b420194c24882748f1ea35f37643b032e
treee593f5fa864dbe0dc39dfe005ce40430e688f7ee
parent60aba820dec333eaa7a320de1403b77e444a178c
bus: arm-ccn: Use devm_kcalloc() in arm_ccn_probe()

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.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Pawel Moll <pawel.moll@arm.com>
drivers/bus/arm-ccn.c