summaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorSrikar Dronamraju <srikar@linux.vnet.ibm.com>2020-09-22 13:32:54 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-10-30 10:38:20 +0100
commit13aeb252fdd7b34339fa890c62acd32037c42460 (patch)
treeebb5c94790ec6977b95b93c1559a5fe11c06c150 /virt
parent65d73b1f219115262578f95b2763329a8fbe3579 (diff)
downloadlinux-stable-13aeb252fdd7b34339fa890c62acd32037c42460.tar.gz
linux-stable-13aeb252fdd7b34339fa890c62acd32037c42460.tar.bz2
linux-stable-13aeb252fdd7b34339fa890c62acd32037c42460.zip
cpufreq: powernv: Fix frame-size-overflow in powernv_cpufreq_reboot_notifier
[ Upstream commit a2d0230b91f7e23ceb5d8fb6a9799f30517ec33a ] The patch avoids allocating cpufreq_policy on stack hence fixing frame size overflow in 'powernv_cpufreq_reboot_notifier': drivers/cpufreq/powernv-cpufreq.c: In function powernv_cpufreq_reboot_notifier: drivers/cpufreq/powernv-cpufreq.c:906:1: error: the frame size of 2064 bytes is larger than 2048 bytes Fixes: cf30af76 ("cpufreq: powernv: Set the cpus to nominal frequency during reboot/kexec") Signed-off-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com> Reviewed-by: Daniel Axtens <dja@axtens.net> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20200922080254.41497-1-srikar@linux.vnet.ibm.com Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions