clk: qcom: gcc-sdm845: Terminate the divider table
Failure to terminate the table could lead to us reading off the
end of the array when changing rates. KASAN notices this and
complains:
BUG: KASAN: global-out-of-bounds in _round_up_table+0x30/0x78 at
addr ffffff90090922e
Read of size 4 by task kworker/0:1/39
Address belongs to variable post_div_table_fabia_even+0x24/0xc0
Change-Id: I9aa1b31093e6c97e81d4df7ac22b528893fd0a1a
CRs-Fixed: 2015655
Signed-off-by:
Stephen Boyd <sboyd@codeaurora.org>
Loading
Please register or sign in to comment