From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752067AbcKMX4Y (ORCPT ); Sun, 13 Nov 2016 18:56:24 -0500 Received: from cloudserver094114.home.net.pl ([79.96.170.134]:51465 "EHLO cloudserver094114.home.net.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750866AbcKMX4V (ORCPT ); Sun, 13 Nov 2016 18:56:21 -0500 From: "Rafael J. Wysocki" To: Stephen Rothwell , Akshay Adiga Cc: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Linux PM list Subject: Re: linux-next: build warning after merge of the pm tree Date: Mon, 14 Nov 2016 01:03:52 +0100 Message-ID: <2357318.aIcIp7uAlP@vostro.rjw.lan> User-Agent: KMail/4.11.5 (Linux/4.9.0-rc5+; KDE/4.11.5; x86_64; ; ) In-Reply-To: <20161114104009.57b7e64b@canb.auug.org.au> References: <20161114104009.57b7e64b@canb.auug.org.au> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Monday, November 14, 2016 10:40:09 AM Stephen Rothwell wrote: > Hi Rafael, Hi Stephen, > 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") Thanks for the notice! Akshay, any thoughts? Thanks, Rafael