From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1765189AbcINUsC (ORCPT ); Wed, 14 Sep 2016 16:48:02 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:36506 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753970AbcINUr7 (ORCPT ); Wed, 14 Sep 2016 16:47:59 -0400 DMARC-Filter: OpenDMARC Filter v1.3.1 smtp.codeaurora.org 8246561821 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=pass smtp.mailfrom=sboyd@codeaurora.org Date: Wed, 14 Sep 2016 13:47:57 -0700 From: Stephen Boyd To: SF Markus Elfring Cc: bcm-kernel-feedback-list@broadcom.com, linux-clk@vger.kernel.org, Alex Elder , Florian Fainelli , Matt Porter , Michael Turquette , Ray Jui , Scott Branden , Vaishali Thakkar , LKML , kernel-janitors@vger.kernel.org, Julia Lawall Subject: Re: [PATCH] clk-kona-setup: Use kmalloc_array() in parent_process() Message-ID: <20160914204757.GX7243@codeaurora.org> References: <1fb2e894-93d3-3dbe-ca05-7e29e4c60e2a@users.sourceforge.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1fb2e894-93d3-3dbe-ca05-7e29e4c60e2a@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 On 09/14, SF Markus Elfring wrote: > From: Markus Elfring > Date: Wed, 14 Sep 2016 20:26:05 +0200 > > A multiplication for the size determination of a memory allocation > indicated that an array data structure should be processed. > Thus use the corresponding function "kmalloc_array". > > 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