kernel_optimize_test/drivers/clk/mmp
Dan Carpenter 2e85c57493 clk: mmp: Off by one in mmp_clk_add()
The > comparison should be >= or we write one element beyond the end of
the unit->clk_table[] array.

(The unit->clk_table[] array is allocated in the mmp_clk_init() function
and it has unit->nr_clks elements).

Fixes: 4661fda10f ("clk: mmp: add basic support functions for DT support")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
2018-12-03 09:54:48 -08:00
..
clk-apbc.c
clk-apmu.c
clk-frac.c
clk-gate.c
clk-mix.c
clk-mmp2.c
clk-of-mmp2.c
clk-of-pxa168.c
clk-of-pxa910.c
clk-of-pxa1928.c
clk-pxa168.c
clk-pxa910.c
clk.c clk: mmp: Off by one in mmp_clk_add() 2018-12-03 09:54:48 -08:00
clk.h
Makefile
reset.c
reset.h