From: Viresh Kumar Date: Tue, 6 Jan 2015 15:39:12 +0000 (+0530) Subject: cpufreq: stats: time_in_state can't be NULL in cpufreq_stats_update() X-Git-Tag: fixes-v4.0-rc1~160^2~1^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c960f9b22d63934401949fb20d10ec4e69b535b2;p=pandora-kernel.git cpufreq: stats: time_in_state can't be NULL in cpufreq_stats_update() 'time_in_state' can't be NULL if 'stats' is valid. These are allocated together and only if time_in_state is allocated successfully, we update policy->stats. Signed-off-by: Viresh Kumar Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed