linux-next: build warning after merge of the pm tree

From: Stephen Rothwell
Date: Sun Nov 13 2016 - 18:40:19 EST


Hi Rafael,

After merging the pm tree, today's linux-next build (powerpc
ppc64_defconfig) produced this warning:

drivers/cpufreq/powernv-cpufreq.c: In function 'gpstate_timer_handler':
drivers/cpufreq/powernv-cpufreq.c:642:5: warning: 'lpstate_idx' may be used uninitialized in this function [-Wmaybe-uninitialized]
if (gpstate_idx != gpstates->last_lpstate_idx)
^

Introduced by commit

20b15b766354 ("cpufreq: powernv: Use PMCR to verify global and local pstate")

--
Cheers,
Stephen Rothwell