On Tue 2016-10-25 11:14:40, Kevin Hilman wrote: > Colin King writes: > > > From: Colin Ian King > > > > 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 > > Acked-by: Kevin Hilman Acked-by: Pavel Machek -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html