summaryrefslogtreecommitdiff
path: root/include/acpi
diff options
context:
space:
mode:
authorAshwin Chaugule <ashwin.chaugule@linaro.org>2015-10-23 05:02:52 -0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-10-26 04:47:02 +0100
commit4219853aef645d29b122daa8a8b7bd792f1cc7c9 (patch)
treef56759c7aeb08dc84a2681bbf6f83ecf6e6faf46 /include/acpi
parent32c0b2f606a4b71fc7b7cfa479cf47648854d9d9 (diff)
ACPI / CPPC: Fix potential memory leak
Commit 337aadff8e45 (ACPI: Introduce CPU performance controls using CPPC) leads to the following static checker warning: drivers/acpi/cppc_acpi.c:527 acpi_cppc_processor_probe() warn: overwrite may leak 'cpc_ptr' Fix the warning by removing the bogus per-CPU pointer dereference. Fixes: 337aadff8e45 (ACPI: Introduce CPU performance controls using CPPC) Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Ashwin Chaugule <ashwin.chaugule@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/acpi')
0 files changed, 0 insertions, 0 deletions