summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica/acglobal.h
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2014-02-08 09:42:19 +0800
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-02-11 00:30:24 +0100
commit9186fb5807aadd30861ce9106afca8123524398c (patch)
tree3f2f948067345cc6c9a15e03df65097811601451 /drivers/acpi/acpica/acglobal.h
parentd72c17a8674fc143e1c7781e55fa362626353167 (diff)
downloadblackbird-obmc-linux-9186fb5807aadd30861ce9106afca8123524398c.tar.gz
blackbird-obmc-linux-9186fb5807aadd30861ce9106afca8123524398c.zip
ACPICA: Improve parameter validation for acpi_install_gpe_block.
Add the following checks: 1) The incoming device handle refers to type ACPI_TYPE_DEVICE. 2) There is not already a gpe block attached to the device. Likewise, with acpi_remove_gpe_block, ensure that the incoming object is a device. Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Lv Zheng <lv.zheng@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/acglobal.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud