From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Boyd Date: Wed, 14 Sep 2016 20:47:57 +0000 Subject: Re: [PATCH] clk-kona-setup: Use kmalloc_array() in parent_process() Message-Id: <20160914204757.GX7243@codeaurora.org> List-Id: References: <1fb2e894-93d3-3dbe-ca05-7e29e4c60e2a@users.sourceforge.net> In-Reply-To: <1fb2e894-93d3-3dbe-ca05-7e29e4c60e2a@users.sourceforge.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 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