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


Groups > linux.kernel > #1628750

Re: [PATCH 3/5] clk: mvebu: Use kcalloc() in two functions

From Stephen Boyd <sboyd@codeaurora.org>
Newsgroups linux.kernel
Subject Re: [PATCH 3/5] clk: mvebu: Use kcalloc() in two functions
Date 2017-04-22 05:00 +0200
Message-ID <tyTrc-5zp-7@gated-at.bofh.it> (permalink)
References <ty3VD-7vf-3@gated-at.bofh.it> <ty3VE-7vf-37@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 04/19, SF Markus Elfring wrote:
> From: Markus Elfring <elfring@users.sourceforge.net>
> Date: Wed, 19 Apr 2017 21:08:54 +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.
> 
> * Replace the specification of data types by pointer dereferences
>   to make the corresponding size determination a bit safer according to
>   the Linux coding style convention.
> 
> 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 3/5] clk: mvebu: Use kcalloc() in two functions SF Markus Elfring <elfring@users.sourceforge.net> - 2017-04-19 22:00 +0200
  Re: [PATCH 3/5] clk: mvebu: Use kcalloc() in two functions Stephen Boyd <sboyd@codeaurora.org> - 2017-04-22 05:00 +0200

csiph-web