Skip to content
Commit 48f68de0 authored by Jernej Skrabec's avatar Jernej Skrabec Committed by Stephen Boyd
Browse files

clk: sunxi-ng: Make sure divider tables have sentinel



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: 0577e485 ("clk: sunxi-ng: Add H3 clocks")
Fixes: c6a06374 ("clk: sunxi-ng: Add A64 clocks")
Signed-off-by: default avatarJernej Skrabec <jernej.skrabec@siol.net>
Link: https://lore.kernel.org/r/20201202203817.438713-1-jernej.skrabec@siol.net


Acked-by: default avatarMaxime Ripard <mripard@kernel.org>
Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
parent d2d94fc5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment