commit | 1295e36a488efdad9b21eb0aeabfd0b23a87a313 | [log] [tgz] |
---|---|---|
author | Stephen Boyd <sboyd@codeaurora.org> | Fri Mar 04 09:18:41 2016 -0800 |
committer | Stephen Boyd <sboyd@codeaurora.org> | Tue Mar 15 15:15:27 2016 -0700 |
tree | a9e88976cc07ba9208efe49fe51fe2270a6ebff0 | |
parent | d3781a74bcc98c9c833d181676975075a50eb946 [diff] |
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>