Re: [PATCH 08/15] thermal: cpu_cooling: fix stub function

2013-06-19 Thread Arnd Bergmann
On Wednesday 19 June 2013, Eduardo Valentin wrote:
> On 31-05-2013 18:22, Arnd Bergmann wrote:
> > The function stub for cpufreq_cooling_get_level introduced
> > in 57df81069 "Thermal: exynos: fix cooling state translation"
> > is not syntactically correct C and needs to be fixed to avoid
> > this error:
> > 
> > In file included from drivers/thermal/db8500_thermal.c:20:0:
> >  include/linux/cpu_cooling.h: In function 'cpufreq_cooling_get_level':
> > include/linux/cpu_cooling.h:57:1:
> >  error: parameter name omitted  unsigned long 
> > cpufreq_cooling_get_level(unsigned int, unsigned int)  ^
> >  include/linux/cpu_cooling.h:57:1: error: parameter name omitted
> > 
> > Signed-off-by: Arnd Bergmann 
> > Acked-by: Eduardo Valentin 
> 
> 
> What is the status of this patch?
> 
> I believe Rui is supposed to queue this one right?
> 

Yes, that would be good. 3.10 is broken without the patch.

Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH 08/15] thermal: cpu_cooling: fix stub function

2013-06-19 Thread Eduardo Valentin
Arnd,

On 31-05-2013 18:22, Arnd Bergmann wrote:
> The function stub for cpufreq_cooling_get_level introduced
> in 57df81069 "Thermal: exynos: fix cooling state translation"
> is not syntactically correct C and needs to be fixed to avoid
> this error:
> 
> In file included from drivers/thermal/db8500_thermal.c:20:0:
>  include/linux/cpu_cooling.h: In function 'cpufreq_cooling_get_level':
> include/linux/cpu_cooling.h:57:1:
>  error: parameter name omitted  unsigned long 
> cpufreq_cooling_get_level(unsigned int, unsigned int)  ^
>  include/linux/cpu_cooling.h:57:1: error: parameter name omitted
> 
> Signed-off-by: Arnd Bergmann 
> Acked-by: Eduardo Valentin 


What is the status of this patch?

I believe Rui is supposed to queue this one right?


> Cc: Eduardo Valentin 
> Cc: Zhang Rui 
> Cc: Amit Daniel kachhap 
> ---
>  include/linux/cpu_cooling.h | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/include/linux/cpu_cooling.h b/include/linux/cpu_cooling.h
> index 282e270..a5d52ee 100644
> --- a/include/linux/cpu_cooling.h
> +++ b/include/linux/cpu_cooling.h
> @@ -41,7 +41,7 @@ cpufreq_cooling_register(const struct cpumask *clip_cpus);
>   */
>  void cpufreq_cooling_unregister(struct thermal_cooling_device *cdev);
>  
> -unsigned long cpufreq_cooling_get_level(unsigned int, unsigned int);
> +unsigned long cpufreq_cooling_get_level(unsigned int cpu, unsigned int freq);
>  #else /* !CONFIG_CPU_THERMAL */
>  static inline struct thermal_cooling_device *
>  cpufreq_cooling_register(const struct cpumask *clip_cpus)
> @@ -54,7 +54,7 @@ void cpufreq_cooling_unregister(struct 
> thermal_cooling_device *cdev)
>   return;
>  }
>  static inline
> -unsigned long cpufreq_cooling_get_level(unsigned int, unsigned int)
> +unsigned long cpufreq_cooling_get_level(unsigned int cpu, unsigned int freq)
>  {
>   return THERMAL_CSTATE_INVALID;
>  }
> 


-- 
You have got to be excited about what you are doing. (L. Lamport)

Eduardo Valentin



signature.asc
Description: OpenPGP digital signature


Re: [PATCH 08/15] thermal: cpu_cooling: fix stub function

2013-06-19 Thread Eduardo Valentin
Arnd,

On 31-05-2013 18:22, Arnd Bergmann wrote:
 The function stub for cpufreq_cooling_get_level introduced
 in 57df81069 Thermal: exynos: fix cooling state translation
 is not syntactically correct C and needs to be fixed to avoid
 this error:
 
 In file included from drivers/thermal/db8500_thermal.c:20:0:
  include/linux/cpu_cooling.h: In function 'cpufreq_cooling_get_level':
 include/linux/cpu_cooling.h:57:1:
  error: parameter name omitted  unsigned long 
 cpufreq_cooling_get_level(unsigned int, unsigned int)  ^
  include/linux/cpu_cooling.h:57:1: error: parameter name omitted
 
 Signed-off-by: Arnd Bergmann a...@arndb.de
 Acked-by: Eduardo Valentin eduardo.valen...@ti.com


What is the status of this patch?

I believe Rui is supposed to queue this one right?


 Cc: Eduardo Valentin eduardo.valen...@ti.com
 Cc: Zhang Rui rui.zh...@intel.com
 Cc: Amit Daniel kachhap amit.dan...@samsung.com
 ---
  include/linux/cpu_cooling.h | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
 
 diff --git a/include/linux/cpu_cooling.h b/include/linux/cpu_cooling.h
 index 282e270..a5d52ee 100644
 --- a/include/linux/cpu_cooling.h
 +++ b/include/linux/cpu_cooling.h
 @@ -41,7 +41,7 @@ cpufreq_cooling_register(const struct cpumask *clip_cpus);
   */
  void cpufreq_cooling_unregister(struct thermal_cooling_device *cdev);
  
 -unsigned long cpufreq_cooling_get_level(unsigned int, unsigned int);
 +unsigned long cpufreq_cooling_get_level(unsigned int cpu, unsigned int freq);
  #else /* !CONFIG_CPU_THERMAL */
  static inline struct thermal_cooling_device *
  cpufreq_cooling_register(const struct cpumask *clip_cpus)
 @@ -54,7 +54,7 @@ void cpufreq_cooling_unregister(struct 
 thermal_cooling_device *cdev)
   return;
  }
  static inline
 -unsigned long cpufreq_cooling_get_level(unsigned int, unsigned int)
 +unsigned long cpufreq_cooling_get_level(unsigned int cpu, unsigned int freq)
  {
   return THERMAL_CSTATE_INVALID;
  }
 


-- 
You have got to be excited about what you are doing. (L. Lamport)

Eduardo Valentin



signature.asc
Description: OpenPGP digital signature


Re: [PATCH 08/15] thermal: cpu_cooling: fix stub function

2013-06-19 Thread Arnd Bergmann
On Wednesday 19 June 2013, Eduardo Valentin wrote:
 On 31-05-2013 18:22, Arnd Bergmann wrote:
  The function stub for cpufreq_cooling_get_level introduced
  in 57df81069 Thermal: exynos: fix cooling state translation
  is not syntactically correct C and needs to be fixed to avoid
  this error:
  
  In file included from drivers/thermal/db8500_thermal.c:20:0:
   include/linux/cpu_cooling.h: In function 'cpufreq_cooling_get_level':
  include/linux/cpu_cooling.h:57:1:
   error: parameter name omitted  unsigned long 
  cpufreq_cooling_get_level(unsigned int, unsigned int)  ^
   include/linux/cpu_cooling.h:57:1: error: parameter name omitted
  
  Signed-off-by: Arnd Bergmann a...@arndb.de
  Acked-by: Eduardo Valentin eduardo.valen...@ti.com
 
 
 What is the status of this patch?
 
 I believe Rui is supposed to queue this one right?
 

Yes, that would be good. 3.10 is broken without the patch.

Arnd
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/