From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934833AbcKNRO2 (ORCPT ); Mon, 14 Nov 2016 12:14:28 -0500 Received: from mga02.intel.com ([134.134.136.20]:60089 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934090AbcKNROZ (ORCPT ); Mon, 14 Nov 2016 12:14:25 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,491,1473145200"; d="scan'208";a="31116670" Message-ID: <1479143663.6544.11.camel@linux.intel.com> Subject: Re: [PATCH] cpufreq: intel_pstate: fix intel_pstate_use_acpi_profile helper From: Srinivas Pandruvada To: Arnd Bergmann , "Rafael J. Wysocki" Cc: Len Brown , Viresh Kumar , Philippe Longepe , Stephane Gasparini , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Date: Mon, 14 Nov 2016 09:14:23 -0800 In-Reply-To: <20161114164216.2657919-1-arnd@arndb.de> References: <20161114164216.2657919-1-arnd@arndb.de> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.20.5 (3.20.5-1.fc24) Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2016-11-14 at 17:41 +0100, Arnd Bergmann wrote: > The newly added function uses two different prototypes depending > on configuration, and one of them does not match the caller: > > drivers/cpufreq/intel_pstate.c: In function ‘copy_cpu_funcs’: > drivers/cpufreq/intel_pstate.c:1798:2: error: too few arguments to > function ‘intel_pstate_use_acpi_profile’ > > This changes it to look like the other one. Sorry about that. > > Fixes: 3bea6a285476 ("cpufreq: intel_pstate: Use cpu load based > algorithm for mobile class devices") > Signed-off-by: Arnd Bergmann Acked-by: Srinivas Pandruvada > --- >  drivers/cpufreq/intel_pstate.c | 2 +- >  1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/cpufreq/intel_pstate.c > b/drivers/cpufreq/intel_pstate.c > index 65832f8eacdc..7153cf2d8e11 100644 > --- a/drivers/cpufreq/intel_pstate.c > +++ b/drivers/cpufreq/intel_pstate.c > @@ -1779,7 +1779,7 @@ static void intel_pstate_use_acpi_profile(void) >   get_target_pstate_use_cpu_load; >  } >  #else > -static inline void intel_pstate_use_acpi_profile(struct pstate_funcs > *funcs) > +static inline void intel_pstate_use_acpi_profile(void) >  { >  } >  #endif