lkml.org 
[lkml]   [2016]   [Apr]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] PM / clk: ensure we don't allocate a -ve size of count clks
Date
On Saturday, April 16, 2016 01:50:03 PM Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> 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@canonical.com>

Applied, thanks!

\
 
 \ /
  Last update: 2016-04-28 00:01    [W:0.496 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site