Re: [PATCH] PM / clk: ensure we don't allocate a -ve size of count clks
From: Rafael J. Wysocki
Date: Wed Apr 27 2016 - 17:33:47 EST
On Saturday, April 16, 2016 01:50:03 PM Colin King wrote:
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> It is entirely possible for of_count_phandle_wit_args to
> return a -ve error return value so we need to check for this
> otherwise we end up allocating a negative number of clk objects.
>
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
Applied, thanks!