linux/drivers/clk/sunxi
Stephen Boyd 1295e36a48 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>
2016-03-15 15:15:27 -07:00
..
clk-a10-codec.c
clk-a10-hosc.c
clk-a10-mod1.c
clk-a10-pll2.c
clk-a10-ve.c
clk-a20-gmac.c
clk-factors.c
clk-factors.h
clk-mod0.c
clk-simple-gates.c
clk-sun6i-apb0-gates.c
clk-sun6i-apb0.c
clk-sun6i-ar100.c
clk-sun8i-apb0.c
clk-sun8i-bus-gates.c
clk-sun8i-mbus.c
clk-sun9i-core.c
clk-sun9i-cpus.c
clk-sun9i-mmc.c
clk-sunxi.c
clk-usb.c
Makefile