[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdY4Ynox3qYu_8=ToH_nkXFpC3xOOuN7D4EM5vszDgKMdw@mail.gmail.com>
Date: Wed, 18 May 2022 15:39:14 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Hangyu Hua <hbh25y@...il.com>
Cc: ulf.hansson@...aro.org, mturquette@...libre.com, sboyd@...nel.org,
linux-clk@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] clk: ux500: fix a possible off-by-one in u8500_prcc_reset_base()
On Wed, May 18, 2022 at 8:25 AM Hangyu Hua <hbh25y@...il.com> wrote:
> Off-by-one will happen when index == ARRAY_SIZE(ur->base).
>
> Fixes: b14cbdfd467d ("clk: ux500: Add driver for the reset portions of PRCC")
> Signed-off-by: Hangyu Hua <hbh25y@...il.com>
Good catch!
Reviewed-by: Linus Walleij <linus.walleij@...aro.org>
Yours,
Linus Walleij
Powered by blists - more mailing lists