ACPICA: Add argument count checking to control method invocation via acpi_evaluate_object
authorBob Moore <robert.moore@intel.com>
Tue, 10 Jun 2008 04:25:42 +0000 (12:25 +0800)
committerAndi Kleen <andi@basil.nowhere.org>
Wed, 16 Jul 2008 21:27:03 +0000 (23:27 +0200)
commitf3454ae8104efb2dbf0d08ec42c6f5d0fe9225bc
tree61c85b910e1d56eb5245f1a9d81aead8206b7f87
parentc735ab7da3414c3e639d5c5223092b74689e5d87
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>
drivers/acpi/namespace/nseval.c
include/acpi/acexcep.h
include/acpi/acstruct.h