Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 68aaf039 authored by Pratik Rajesh Sampat's avatar Pratik Rajesh Sampat Committed by Greg Kroah-Hartman
Browse files

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



[ Upstream commit d95fe371ecd28901f11256c610b988ed44e36ee2 ]

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


Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 9a1d2d2e
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