Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1763512AbdDSNEa (ORCPT ); Wed, 19 Apr 2017 09:04:30 -0400 Received: from foss.arm.com ([217.140.101.70]:39604 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1763390AbdDSNE2 (ORCPT ); Wed, 19 Apr 2017 09:04:28 -0400 Message-ID: <1492607064.2768.1.camel@arm.com> Subject: Re: [PATCH] bus: arm-ccn: Use devm_kcalloc() in arm_ccn_probe() From: Pawel Moll To: SF Markus Elfring Cc: LKML , kernel-janitors@vger.kernel.org, IngoMolnar , Mark Rutland , Sebastian Andrzej Siewior , "Suzuki K. Poulose" , Thomas Gleixner Date: Wed, 19 Apr 2017 14:04:24 +0100 In-Reply-To: <3458009f-6489-da7f-c1c1-c834d5b9d41d@users.sourceforge.net> References: <3458009f-6489-da7f-c1c1-c834d5b9d41d@users.sourceforge.net> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.18.5.2-0ubuntu3.1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 584 Lines: 18 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_kcalloc". > > This issue was detected by using the Coccinelle software. > > Signed-off-by: Markus Elfring Fine with me. I'll queue it with a couple other CCN driver changes. Will probably get into 4.13. Regards! Pawel