[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdajDVDFfzhjjGuLBJcddfo+Ls1D7gR1k77tntkFRT2UdA@mail.gmail.com>
Date: Wed, 2 Aug 2017 14:16:49 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Thierry Reding <thierry.reding@...il.com>
Cc: Jonathan Hunter <jonathanh@...dia.com>,
"linux-gpio@...r.kernel.org" <linux-gpio@...r.kernel.org>,
"linux-tegra@...r.kernel.org" <linux-tegra@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 2/4] gpio: tegra: Prefer kcalloc() over kzalloc() with multiplies
On Mon, Jul 24, 2017 at 4:55 PM, Thierry Reding
<thierry.reding@...il.com> wrote:
> From: Thierry Reding <treding@...dia.com>
>
> Rather than manually compute the size of an array, pass the number and
> element size to kcalloc().
>
> Signed-off-by: Thierry Reding <treding@...dia.com>
Patch applied with Jon's ACK.
Yours,
Linus Walleij
Powered by blists - more mailing lists