lkml.org 
[lkml]   [2016]   [Mar]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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

\
 
 \ /
  Last update: 2016-03-15 23:21    [W:1.090 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site