Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1043399AbdDVCtZ (ORCPT ); Fri, 21 Apr 2017 22:49:25 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:35860 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1042394AbdDVCtX (ORCPT ); Fri, 21 Apr 2017 22:49:23 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 41C27611AB Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=sboyd@codeaurora.org Date: Fri, 21 Apr 2017 19:49:21 -0700 From: Stephen Boyd To: SF Markus Elfring Cc: linux-clk@vger.kernel.org, Michael Turquette , LKML , kernel-janitors@vger.kernel.org Subject: Re: [PATCH 1/5] clk: mvebu: Use kcalloc() in of_cpu_clk_setup() Message-ID: <20170422024921.GQ7065@codeaurora.org> References: <8af5ccb0-f7c1-297c-2661-8ced61302c37@users.sourceforge.net> <9377530b-9b07-bfc6-848c-b0c1994e33f7@users.sourceforge.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9377530b-9b07-bfc6-848c-b0c1994e33f7@users.sourceforge.net> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 579 Lines: 18 On 04/19, SF Markus Elfring wrote: > From: Markus Elfring > Date: Wed, 19 Apr 2017 20:15:21 +0200 > > Multiplications for the size determination of memory allocations > indicated that array data structures should be processed. > Thus use the corresponding function "kcalloc". > > This issue was detected by using the Coccinelle software. > > Signed-off-by: Markus Elfring > --- Applied to clk-next -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project