From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754065AbcIUGoa (ORCPT ); Wed, 21 Sep 2016 02:44:30 -0400 Received: from mail-pa0-f50.google.com ([209.85.220.50]:32772 "EHLO mail-pa0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750752AbcIUGo1 (ORCPT ); Wed, 21 Sep 2016 02:44:27 -0400 Date: Wed, 21 Sep 2016 12:14:23 +0530 From: Viresh Kumar To: Stephen Rothwell Cc: Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Peter Zijlstra , "Rafael J. Wysocki" , linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Sebastian Andrzej Siewior Subject: Re: linux-next: build failure after merge of the tip tree Message-ID: <20160921064423.GE6313@vireshk-i7> References: <20160921132357.3ae9d8dd@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160921132357.3ae9d8dd@canb.auug.org.au> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 21-09-16, 13:23, Stephen Rothwell wrote: > Hi all, > > After merging the tip tree, today's linux-next build (arm > multi_v7_defconfig) failed like this: > > drivers/cpufreq/cpufreq.c:1324:12: error: conflicting types for 'cpufreq_offline' > static int cpufreq_offline(unsigned int cpu) > ^ > drivers/cpufreq/cpufreq.c:1289:13: note: previous declaration of 'cpufreq_offline' was here > static void cpufreq_offline(unsigned int cpu); > ^ > > Caused by commit > > 27622b061eb4 ("cpufreq: Convert to hotplug state machine") > > interacting with commit > > 26619804e733 ("cpufreq: create link to policy only for registered CPUs") > > from the pm tree. > > I have applied the foloowing build fix for today. > > From: Stephen Rothwell > Date: Wed, 21 Sep 2016 13:20:32 +1000 > Subject: [PATCH] cpufreq: merge fix for type of cpufreq_offline changing > > Signed-off-by: Stephen Rothwell > --- > drivers/cpufreq/cpufreq.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c > index 611395cb115e..6e6c1fb60fbc 100644 > --- a/drivers/cpufreq/cpufreq.c > +++ b/drivers/cpufreq/cpufreq.c > @@ -1286,7 +1286,7 @@ out_free_policy: > return ret; > } > > -static void cpufreq_offline(unsigned int cpu); > +static int cpufreq_offline(unsigned int cpu); Thanks and sorry about it. Looks fine. Acked-by: Viresh Kumar -- viresh