Messages in this thread | | | Date | Tue, 15 Mar 2016 15:16:01 -0700 | From | Stephen Boyd <> | 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@codeaurora.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@csie.org> > > Cc: Maxime Ripard <maxime.ripard@free-electrons.com> > > Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> > > Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com> >
Applied to clk-next.
-- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project
| |