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


Groups > linux.kernel > #1483654

Re: [PATCH] clk-kona-setup: Use kmalloc_array() in parent_process()

From Stephen Boyd <sboyd@codeaurora.org>
Newsgroups linux.kernel
Subject Re: [PATCH] clk-kona-setup: Use kmalloc_array() in parent_process()
Date 2016-09-14 22:50 +0200
Message-ID <shpi1-5JB-11@gated-at.bofh.it> (permalink)
References <shnpT-4on-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 09/14, SF Markus Elfring wrote:
> From: Markus Elfring <elfring@users.sourceforge.net>
> 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 <elfring@users.sourceforge.net>
> ---

Applied to clk-next

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project

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


Thread

[PATCH] clk-kona-setup: Use kmalloc_array() in parent_process() SF Markus Elfring <elfring@users.sourceforge.net> - 2016-09-14 20:50 +0200
  Re: [PATCH] clk-kona-setup: Use kmalloc_array() in parent_process() Stephen Boyd <sboyd@codeaurora.org> - 2016-09-14 22:50 +0200

csiph-web