Quoting Geert Uytterhoeven (2018-04-18 07:50:04) > As of_clk_get_parent_count() returns zero on failure, while > of_count_phandle_with_args() might return a negative error code, this > also fixes the issue of possibly using a very big number in the > allocation below. > > Signed-off-by: Geert Uytterhoeven <geert+rene...@glider.be> > Acked-by: Jon Hunter <jonath...@nvidia.com> > ---
Applied to clk-next