forked from luck/tmp_suning_uos_patched
7d36b9c102
The first loop of this "for" statement writes memory beyond the
allocated clk_hw_onecell_data.
It should be:
for (clk_num--; clk_num >= 0; clk_num--)
...
Or more simply:
while (--clk_num >= 0)
...
Fixes:
|
||
---|---|---|
.. | ||
clk-uniphier-core.c | ||
clk-uniphier-fixed-factor.c | ||
clk-uniphier-fixed-rate.c | ||
clk-uniphier-gate.c | ||
clk-uniphier-mio.c | ||
clk-uniphier-mux.c | ||
clk-uniphier-peri.c | ||
clk-uniphier-sys.c | ||
clk-uniphier.h | ||
Kconfig | ||
Makefile |