On Tue 2016-10-25 11:14:40, Kevin Hilman wrote: > Colin King <colin.k...@canonical.com> writes: > > > From: Colin Ian King <colin.k...@canonical.com> > > > > The return from of_count_phandle_with_args can be negative, so we > > should avoid kcalloc of a negative count of genpd_power_stat structs > > by sanity checking if count is zero or less. > > > > Signed-off-by: Colin Ian King <colin.k...@canonical.com> > > Acked-by: Kevin Hilman <khil...@baylibre.com>
Acked-by: Pavel Machek <pa...@ucw.cz> -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
signature.asc
Description: Digital signature