From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 29 Jul 2015 11:25:30 -0700 From: Stephen Boyd To: Dan Carpenter Cc: Michael Turquette , Pawel Moll , Linus Walleij , linux-clk@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: Re: [patch] clk: versatile: off by one in clk_sp810_timerclken_of_get() Message-ID: <20150729182530.GC3159@codeaurora.org> References: <20150729101705.GB12100@mwanda> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20150729101705.GB12100@mwanda> List-ID: On 07/29, Dan Carpenter wrote: > The ">" should be ">=" or we end up reading beyond the end of the array. > > Fixes: 6e973d2c4385 ('clk: vexpress: Add separate SP810 driver') > Signed-off-by: Dan Carpenter > > diff --git a/drivers/clk/versatile/clk-sp810.c b/drivers/clk/versatile/clk-sp810.c > index 64b0129..7fbe4d4 100644 > --- a/drivers/clk/versatile/clk-sp810.c Applied to clk-next -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project