From: Bob Moore Date: Sat, 8 Feb 2014 01:42:19 +0000 (+0800) Subject: ACPICA: Improve parameter validation for acpi_install_gpe_block. X-Git-Tag: v3.15-rc1~151^2~7^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9186fb5807aadd30861ce9106afca8123524398c;p=pandora-kernel.git 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 Signed-off-by: Lv Zheng Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed