diff options
author | David E. Box <david.e.box@intel.com> | 2013-09-23 09:52:12 +0800 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-09-24 01:46:24 +0200 |
commit | d2e7d079c7f21999e93802351c6ac7b31d266cce (patch) | |
tree | 538168357af90510c1135c5caa797ad8f67e9522 /drivers/acpi/acpica/acnamesp.h | |
parent | a2fd4b4b4e2884405c54a91514b0fad3853aea01 (diff) | |
download | linux-d2e7d079c7f21999e93802351c6ac7b31d266cce.tar.gz linux-d2e7d079c7f21999e93802351c6ac7b31d266cce.tar.bz2 linux-d2e7d079c7f21999e93802351c6ac7b31d266cce.zip |
ACPICA: Operation region support: Never free the handler "context" pointer.
This change removes some dangerous code that attempts to free the
handler context pointer in some (rare) circumstances. The owner of
the handler owns this pointer and the ACPICA code should never
touch it. Although not seen to be an issue in any kernel, it did
show up as a problem under AcpiExec. Also, set the internal storage
field for the context pointer to zero when the region is deactivated,
simply for sanity. David Box.
Signed-off-by: David E. Box <david.e.box@intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Reviewed-by: Len Brown <len.brown@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/acnamesp.h')
0 files changed, 0 insertions, 0 deletions