ACPICA: Hardware: Enhance acpi_hw_validate_register() with access_width/bit_offset...
authorLv Zheng <lv.zheng@intel.com>
Thu, 24 Mar 2016 01:41:09 +0000 (09:41 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 5 Apr 2016 01:53:33 +0000 (03:53 +0200)
commit920de6ebfab865a5bb2bcc60f6998aa270300b95
tree02a166bcd7b3cafe333d38b02d1888395352d4d8
parent0461f34e16b39b083f289d27d2355df9d5ba1420
ACPICA: Hardware: Enhance acpi_hw_validate_register() with access_width/bit_offset awareness

ACPICA commit 997a90f810a4cb78604ef2e187611a181b498286

This patch enhances acpi_hw_validate_register() to sanitize register
accesses with awareness of access_width and bit_offset. Lv Zheng.

Link: https://github.com/acpica/acpica/commit/997a90f8
Link: https://bugs.acpica.org/show_bug.cgi?id=1240
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpica/hwregs.c