Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1626100

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

From Pawel Moll <pawel.moll@arm.com>
Newsgroups linux.kernel
Subject Re: [PATCH] bus: arm-ccn: Use devm_kcalloc() in arm_ccn_probe()
Date 2017-04-19 15:10 +0200
Message-ID <txXwS-3R5-23@gated-at.bofh.it> (permalink)
References <txSdQ-sj-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, 2017-04-19 at 09:29 +0200, SF Markus Elfring wrote:
> From: Markus Elfring <elfring@users.sourceforge.net>
> 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.
> 
> Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>

Fine with me. I'll queue it with a couple other CCN driver changes.
Will probably get into 4.13.

Regards!

Pawel

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] bus: arm-ccn: Use devm_kcalloc() in arm_ccn_probe() SF Markus Elfring <elfring@users.sourceforge.net> - 2017-04-19 09:30 +0200
  Re: [PATCH] bus: arm-ccn: Use devm_kcalloc() in arm_ccn_probe() Mark Rutland <mark.rutland@arm.com> - 2017-04-19 10:30 +0200
  Re: [PATCH] bus: arm-ccn: Use devm_kcalloc() in arm_ccn_probe() Pawel Moll <pawel.moll@arm.com> - 2017-04-19 15:10 +0200

csiph-web