summaryrefslogtreecommitdiff
path: root/include/dt-bindings
diff options
context:
space:
mode:
authorDouglas Anderson <dianders@chromium.org>2018-08-30 20:34:37 +0300
committerStephen Boyd <sboyd@kernel.org>2018-08-31 00:59:39 +0300
commit2bdb2a1cca8669cfe15be62b8f1ed966e374585b (patch)
treee60a7af7d3ce3c1233e768c866401d6d121899c7 /include/dt-bindings
parent8b69c6dba2300b616737bbfc28685d86d786b11d (diff)
downloadlinux-2bdb2a1cca8669cfe15be62b8f1ed966e374585b.tar.xz
clk: qcom: Allocate space for NULL terimation in DFS table
The table allocated in clk_rcg2_dfs_populate_freq_table() is eventually iterated over by qcom_find_freq() which assumes that the table is NULL terminated. Allocate one extra space in the array for the NULL termination. Initting of the NULL termination is implicit due to kcalloc(). Fixes: cc4f6944d0e3 ("clk: qcom: Add support for RCG to register for DFS") Signed-off-by: Douglas Anderson <dianders@chromium.org> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'include/dt-bindings')
0 files changed, 0 insertions, 0 deletions