aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/clk/versatile
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2016-03-04 09:18:41 -0800
committerStephen Boyd <sboyd@codeaurora.org>2016-03-15 15:15:27 -0700
commit1295e36a488efdad9b21eb0aeabfd0b23a87a313 (patch)
treea9e88976cc07ba9208efe49fe51fe2270a6ebff0 /drivers/clk/versatile
parentclk: fixed-rate: Remove CLK_IS_ROOT (diff)
downloadwireguard-linux-1295e36a488efdad9b21eb0aeabfd0b23a87a313.tar.xz
wireguard-linux-1295e36a488efdad9b21eb0aeabfd0b23a87a313.zip
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/versatile')
0 files changed, 0 insertions, 0 deletions