diff options
author | Bob Moore <robert.moore@intel.com> | 2013-08-08 03:29:38 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-08-13 07:10:36 -0400 |
commit | bf0dd264b1207b090858e7847919af5f2e367d7c (patch) | |
tree | 13dbf445dd4d4c05a28d65cc5da9b695f1a7a11e /drivers/acpi/acpica/acstruct.h | |
parent | 63660e05ec719613b518547b40a1c501c10f0bc4 (diff) |
ACPICA: Fix possible fault for methods that optionally have no return value.
Currently applies to the _WAK method only. If the method has no return
value and slack mode is not enabled, the return value validation code
can fault.
Also improves the error message when an expected return value is
missing (for any predefined name/method).
The problem fixed here cannot happen on Linux unless acpi=strict is
added to the kernel command line.
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/acstruct.h')
0 files changed, 0 insertions, 0 deletions