[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160315221601.GJ25972@codeaurora.org>
Date: Tue, 15 Mar 2016 15:16:01 -0700
From: Stephen Boyd <sboyd@...eaurora.org>
To: Maxime Ripard <maxime.ripard@...e-electrons.com>
Cc: Chen-Yu Tsai <wens@...e.org>,
Michael Turquette <mturquette@...libre.com>,
linux-kernel <linux-kernel@...r.kernel.org>,
linux-clk <linux-clk@...r.kernel.org>
Subject: Re: [PATCH] clk: sunxi: Remove use of VLAIS
On 03/08, Maxime Ripard wrote:
> On Fri, Mar 04, 2016 at 09:18:41AM -0800, Stephen Boyd wrote:
> > Oh right. Let's hope third time is the last.
> >
> > ---8<---
> > From: Stephen Boyd <sboyd@...eaurora.org>
> > Subject: [PATCH] clk: sunxi: Remove use of variable length array
> >
> > Using an array allocated on the stack may lead to stack overflows
> > and other problems so let's move the allocation to the heap
> > instead. This silences the following checker warning as well.
> >
> > drivers/clk/sunxi/clk-sun8i-mbus.c:36:29: warning: Variable length array is used.
> >
> > Cc: Chen-Yu Tsai <wens@...e.org>
> > Cc: Maxime Ripard <maxime.ripard@...e-electrons.com>
> > Signed-off-by: Stephen Boyd <sboyd@...eaurora.org>
>
> Acked-by: Maxime Ripard <maxime.ripard@...e-electrons.com>
>
Applied to clk-next.
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
Powered by blists - more mailing lists