Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933652AbcCOWQT (ORCPT ); Tue, 15 Mar 2016 18:16:19 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:43922 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933460AbcCOWQD (ORCPT ); Tue, 15 Mar 2016 18:16:03 -0400 Date: Tue, 15 Mar 2016 15:16:01 -0700 From: Stephen Boyd To: Maxime Ripard Cc: Chen-Yu Tsai , Michael Turquette , linux-kernel , linux-clk Subject: Re: [PATCH] clk: sunxi: Remove use of VLAIS Message-ID: <20160315221601.GJ25972@codeaurora.org> References: <20160226194830.GA21652@lukather> <1456878048-23393-1-git-send-email-sboyd@codeaurora.org> <20160303191604.GW24999@codeaurora.org> <20160304152711.GR8418@lukather> <20160304171841.GF24999@codeaurora.org> <20160308221320.GI8418@lukather> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160308221320.GI8418@lukather> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 929 Lines: 26 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 > > 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 > > Cc: Maxime Ripard > > Signed-off-by: Stephen Boyd > > Acked-by: Maxime Ripard > Applied to clk-next. -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project