aboutsummaryrefslogtreecommitdiffstats
path: root/include/acpi/cppc_acpi.h
diff options
context:
space:
mode:
authorHoan Tran <[email protected]>2016-05-25 19:09:23 +0000
committerRafael J. Wysocki <[email protected]>2016-06-25 00:53:31 +0000
commit2324d15447a9db168b1f85e3feac635b1ff8edb8 (patch)
tree5823ac70410ac17095633a12e955054e41286118 /include/acpi/cppc_acpi.h
parentACPI: CPPC: Return error if _CPC is invalid on a CPU (diff)
downloadkernel-2324d15447a9db168b1f85e3feac635b1ff8edb8.tar.gz
kernel-2324d15447a9db168b1f85e3feac635b1ff8edb8.zip
ACPI / CPPC: Prevent cpc_desc_ptr points to the invalid data
When CPPC fails to request a PCC channel, the CPC data is freed and cpc_desc_ptr points to the invalid data. Avoid this issue by moving the cpc_desc_ptr assignment after the PCC channel request. Signed-off-by: Hoan Tran <[email protected]> Acked-by: Ashwin Chaugule <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'include/acpi/cppc_acpi.h')
0 files changed, 0 insertions, 0 deletions