Re: [PATCH] clk: sunxi-ng: Make sure divider tables have sentinel

From: Stephen Boyd
Date: Sat Dec 19 2020 - 18:54:52 EST


Quoting Jernej Skrabec (2020-12-02 12:38:17)
> Two clock divider tables are missing sentinel at the end. Effect of that
> is that clock framework reads past the last entry. Fix that with adding
> sentinel at the end.
>
> Issue was discovered with KASan.
>
> Fixes: 0577e4853bfb ("clk: sunxi-ng: Add H3 clocks")
> Fixes: c6a0637460c2 ("clk: sunxi-ng: Add A64 clocks")
> Signed-off-by: Jernej Skrabec <jernej.skrabec@xxxxxxxx>
> ---

Applied to clk-next