Messages in this thread | | | From | Arnd Bergmann <> | Date | Wed, 20 Feb 2019 13:30:38 +0100 | Subject | Re: [PATCH] cpufreq: kyro: Reduce frame-size of qcom_cpufreq_kryo_probe() |
| |
On Wed, Feb 20, 2019 at 12:14 PM Viresh Kumar <viresh.kumar@linaro.org> wrote: > > With the introduction of commit 846a415bf440 ("arm64: default NR_CPUS to > 256"), we have started getting following compilation warning: > > qcom-cpufreq-kryo.c:168:1: warning: the frame size of 2160 bytes is larger than 2048 bytes [-Wframe-larger-than=] > > Fix that by dynamically allocating opp_tables and freeing it later. > > Compile tested only. > > Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Looks good to me, thanks for the fix!
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
| |