Dan Carpenter 9a43be9ced clk: zynqmp: Off by one in zynqmp_is_valid_clock()
The > comparison should be >= to prevent reading beyond the end of the
clock[] array.

(The clock[] array is allocated in zynqmp_clk_setup() and has
clock_max_idx elements.)

Fixes: 3fde0e16d016 ("drivers: clk: Add ZynqMP clock driver")
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
..
2017-11-03 09:02:30 -07:00
2018-12-03 09:54:48 -08:00
2017-11-01 23:25:43 -07:00
2018-07-06 13:52:57 -07:00
2018-03-16 15:53:30 -07:00
2018-07-06 13:44:06 -07:00
2016-10-23 10:18:45 -07:00
2017-11-01 23:25:51 -07:00
2017-11-01 23:25:51 -07:00