ACPICA: Reduce error to warning for incorrect method arg count
authorLin Ming <ming.m.lin@intel.com>
Sat, 27 Sep 2008 02:38:07 +0000 (10:38 +0800)
committerLen Brown <len.brown@intel.com>
Thu, 23 Oct 2008 03:14:44 +0000 (23:14 -0400)
commit93851b4d13de48753eaae76ed190eef7355e2c19
treeb320e20b7871f8024e992c6d130aa88106077528
parentb68bacf225e5e9758472e99505d76125ced3ea88
ACPICA: Reduce error to warning for incorrect method arg count

Previously aborted with error if too few arguments were passed to
a control method via the external ACPICA interface. Now issue a
warning instead and continue. Handles the case where the method
inadvertently declares too many arguments, but does not actually
use the extra ones.  Applies mainly to the predefined methods.

http://bugzilla.kernel.org/show_bug.cgi?id=11032

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>
drivers/acpi/namespace/nseval.c