diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2016-03-04 20:18:41 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2016-03-16 01:15:27 +0300 |
commit | 1295e36a488efdad9b21eb0aeabfd0b23a87a313 (patch) | |
tree | a9e88976cc07ba9208efe49fe51fe2270a6ebff0 /drivers/clk/clk-qoriq.c | |
parent | d3781a74bcc98c9c833d181676975075a50eb946 (diff) | |
download | linux-1295e36a488efdad9b21eb0aeabfd0b23a87a313.tar.xz |
clk: sunxi: Remove use of variable length array
Using an array allocated on the stack may lead to stack overflows
and other problems so let's move the allocation to the heap
instead. This silences the following checker warning as well.
drivers/clk/sunxi/clk-sun8i-mbus.c:36:29: warning: Variable length array is used
Cc: Chen-Yu Tsai <wens@csie.org>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/clk-qoriq.c')
0 files changed, 0 insertions, 0 deletions