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

Maxime Ripard maxime at cerno.tech
Thu Dec 3 02:36:14 EST 2020


On Wed, Dec 02, 2020 at 09:38:17PM +0100, Jernej Skrabec wrote:
> 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 at siol.net>

Acked-by: Maxime Ripard <mripard at kernel.org>

Mike, Stephen, it's the only patch we're going to send your way for this
release, could you pick it up directly?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20201203/dd05cd9f/attachment.sig>

More information about the linux-arm-kernel mailing list