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


Groups > linux.kernel > #1358296

Re: [PATCH] clk: sunxi: Remove use of VLAIS

From Stephen Boyd <sboyd@codeaurora.org>
Newsgroups linux.kernel
Subject Re: [PATCH] clk: sunxi: Remove use of VLAIS
Date 2016-03-15 23:20 +0100
Message-ID <rd5tM-8lr-25@gated-at.bofh.it> (permalink)
References (2 earlier) <r8FRi-2vI-31@gated-at.bofh.it> <r8GWZ-3b0-3@gated-at.bofh.it> <r8ZPY-bV-21@gated-at.bofh.it> <r91yp-1Du-1@gated-at.bofh.it> <ray8V-76n-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [PATCH] clk: sunxi: Remove use of VLAIS Maxime Ripard <maxime.ripard@free-electrons.com> - 2016-03-04 16:30 +0100
  Re: [PATCH] clk: sunxi: Remove use of VLAIS Stephen Boyd <sboyd@codeaurora.org> - 2016-03-04 18:20 +0100
    Re: [PATCH] clk: sunxi: Remove use of VLAIS Maxime Ripard <maxime.ripard@free-electrons.com> - 2016-03-08 23:20 +0100
      Re: [PATCH] clk: sunxi: Remove use of VLAIS Stephen Boyd <sboyd@codeaurora.org> - 2016-03-15 23:20 +0100

csiph-web