aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorGravatar Srikar Dronamraju <srikar@linux.vnet.ibm.com> 2020-09-22 13:32:54 +0530
committerGravatar Michael Ellerman <mpe@ellerman.id.au> 2020-10-08 21:17:16 +1100
commita2d0230b91f7e23ceb5d8fb6a9799f30517ec33a (patch)
tree3041b487ed4d18b2916e48eb2cd8143d6844756e /tools
parentpowerpc/time: Make get_tb() common to PPC32 and PPC64 (diff)
downloadlinux-a2d0230b91f7e23ceb5d8fb6a9799f30517ec33a.tar.gz
linux-a2d0230b91f7e23ceb5d8fb6a9799f30517ec33a.tar.bz2
linux-a2d0230b91f7e23ceb5d8fb6a9799f30517ec33a.zip
cpufreq: powernv: Fix frame-size-overflow in powernv_cpufreq_reboot_notifier
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
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions