ACPICA: Validate start object for acpi_walk_namespace.
authorBob Moore <robert.moore@intel.com>
Mon, 23 Sep 2013 01:51:58 +0000 (09:51 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 23 Sep 2013 23:46:24 +0000 (01:46 +0200)
commitd53d820741806a5488d0f002b61765deb58371f3
tree501ab23a82b085e68ad3a440f9a97fb62e0c3354
parent1f5210a1e6c21ef850a290bac2a85ae1da2f0c2e
ACPICA: Validate start object for acpi_walk_namespace.

Perform a sanity check on the start object to prevent problems
later. ACPICA BZ 1025.
This patch only adds additional input parameter validation, no actual
kernel suffering has been discovered.

Buglink: http://bugs.acpica.org/show_bug.cgi?id=1025
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Reviewed-by: Len Brown <len.brown@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpica/nsxfeval.c