Re: [PATCH] thermal: use cpumask_var_t for on-stack cpu masks

2017-02-10 Thread Zhang Rui
On Thu, 2017-02-02 at 15:46 +0100, Arnd Bergmann wrote: > Putting a bare cpumask structure on the stack produces a warning on > large SMP configurations: > > drivers/thermal/cpu_cooling.c: In function 'cpufreq_state2power': > drivers/thermal/cpu_cooling.c:644:1: warning: the frame size of 1056 > b

Re: [PATCH] thermal: use cpumask_var_t for on-stack cpu masks

2017-02-02 Thread Viresh Kumar
On 02-02-17, 15:46, Arnd Bergmann wrote: > Putting a bare cpumask structure on the stack produces a warning on > large SMP configurations: > > drivers/thermal/cpu_cooling.c: In function 'cpufreq_state2power': > drivers/thermal/cpu_cooling.c:644:1: warning: the frame size of 1056 bytes is > larger

[PATCH] thermal: use cpumask_var_t for on-stack cpu masks

2017-02-02 Thread Arnd Bergmann
Putting a bare cpumask structure on the stack produces a warning on large SMP configurations: drivers/thermal/cpu_cooling.c: In function 'cpufreq_state2power': drivers/thermal/cpu_cooling.c:644:1: warning: the frame size of 1056 bytes is larger than 1024 bytes [-Wframe-larger-than=] drivers/therm