diff options
author | Bob Moore <robert.moore@intel.com> | 2008-06-10 00:25:42 -0400 |
---|---|---|
committer | Andi Kleen <andi@basil.nowhere.org> | 2008-07-16 17:27:03 -0400 |
commit | f3454ae8104efb2dbf0d08ec42c6f5d0fe9225bc (patch) | |
tree | 61c85b910e1d56eb5245f1a9d81aead8206b7f87 /include/acpi/acstruct.h | |
parent | c735ab7da3414c3e639d5c5223092b74689e5d87 (diff) |
ACPICA: Add argument count checking to control method invocation via acpi_evaluate_object
Error if too few arguments, warning if too many. This applies
only to external programmatic control method execution, not
method-to-method calls within the AML.
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Diffstat (limited to 'include/acpi/acstruct.h')
-rw-r--r-- | include/acpi/acstruct.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/acpi/acstruct.h b/include/acpi/acstruct.h index a907c67d651e..1cc74504f1c4 100644 --- a/include/acpi/acstruct.h +++ b/include/acpi/acstruct.h | |||
@@ -189,6 +189,7 @@ struct acpi_evaluate_info { | |||
189 | union acpi_operand_object **parameters; | 189 | union acpi_operand_object **parameters; |
190 | struct acpi_namespace_node *resolved_node; | 190 | struct acpi_namespace_node *resolved_node; |
191 | union acpi_operand_object *return_object; | 191 | union acpi_operand_object *return_object; |
192 | u8 param_count; | ||
192 | u8 pass_number; | 193 | u8 pass_number; |
193 | u8 parameter_type; | 194 | u8 parameter_type; |
194 | u8 return_object_type; | 195 | u8 return_object_type; |