diff options
| author | Hoan Tran <hotran@apm.com> | 2016-05-25 12:09:23 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-09-07 08:32:38 +0200 |
| commit | 5f009361d67ddf6d8a26e5605f083e795d49c0f4 (patch) | |
| tree | 6353b9a62643ccbdb3887e8b2aec425cdba5da69 /include/linux | |
| parent | cd84d3158f21dca9dde35f6cfb51f31dc2f4bde9 (diff) | |
ACPI / CPPC: Prevent cpc_desc_ptr points to the invalid data
commit 2324d15447a9db168b1f85e3feac635b1ff8edb8 upstream.
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 <hotran@apm.com>
Acked-by: Ashwin Chaugule <ashwin.chaugule@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
