ACPICA: Change exception code for invalid pathname in acpi_evaluate_object
authorBob Moore <robert.moore@intel.com>
Wed, 21 Mar 2012 01:44:00 +0000 (09:44 +0800)
committerLen Brown <len.brown@intel.com>
Thu, 22 Mar 2012 05:45:57 +0000 (01:45 -0400)
commita1acd22f7c6032e8394df7d8adee1a7cdad28b74
treebbefc366d4c8c7dea0e04b0c4e00878d9d8f5658
parent4efeeecd884de36b77c64489dee7eb7ca4d6bed0
ACPICA: Change exception code for invalid pathname in acpi_evaluate_object

Change the returned exception code from AE_BAD_PARAMETER to the
more appropriate AE_BAD_PATHNAME, when the input pathname to
evaluate object is invalid.

Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/acpica/nsutils.c