Skip to content
Commit d95fe371 authored by Pratik Rajesh Sampat's avatar Pratik Rajesh Sampat Committed by Michael Ellerman
Browse files

cpufreq: powernv: Fix frame-size-overflow in powernv_cpufreq_work_fn



The patch avoids allocating cpufreq_policy on stack hence fixing frame
size overflow in 'powernv_cpufreq_work_fn'

Fixes: 22794280 ("cpufreq: powernv: Restore cpu frequency to policy->cur on unthrottling")
Signed-off-by: default avatarPratik Rajesh Sampat <psampat@linux.ibm.com>
Reviewed-by: default avatarDaniel Axtens <dja@axtens.net>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200316135743.57735-1-psampat@linux.ibm.com
parent 850507f3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment