summaryrefslogtreecommitdiff
path: root/drivers/acpi
diff options
context:
space:
mode:
authorTomasz Nowicki <tomasz.nowicki@linaro.org>2013-05-08 04:02:06 +0000
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-05-08 15:31:53 +0200
commit04a29a15520463e072b1a98d8989f04233ee4a7e (patch)
tree13e92b51c0a6896bfdf323f4abb45e4d542addee /drivers/acpi
parent3aa2eeacb559e9901153d3b084ade81515b0967e (diff)
downloadlinux-3.10-04a29a15520463e072b1a98d8989f04233ee4a7e.tar.gz
linux-3.10-04a29a15520463e072b1a98d8989f04233ee4a7e.tar.bz2
linux-3.10-04a29a15520463e072b1a98d8989f04233ee4a7e.zip
ACPICA: ACPICA: Fix for _INI regression
This change fixes a problem introduced by recent commit c34c82b (ACPICA: Predefine names: Add allowed argument types to master info table) in 20130328 where _INI methods are no longer executed properly because of a memory block that is not initialized properly. ACPICA BZ1016. Tomasz Nowicki <tomasz.nowicki@linaro.org> References: https://bugs.acpica.org/show_bug.cgi?id=1016 Signed-off-by: Tomasz Nowicki <tomasz.nowicki@linaro.org> Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Lv Zheng <lv.zheng@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi')
-rw-r--r--drivers/acpi/acpica/nsinit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/acpi/acpica/nsinit.c b/drivers/acpi/acpica/nsinit.c
index 2a431ec50a2..46f0f83417a 100644
--- a/drivers/acpi/acpica/nsinit.c
+++ b/drivers/acpi/acpica/nsinit.c
@@ -558,6 +558,7 @@ acpi_ns_init_one_device(acpi_handle obj_handle,
ACPI_DEBUG_EXEC(acpi_ut_display_init_pathname
(ACPI_TYPE_METHOD, device_node, METHOD_NAME__INI));
+ ACPI_MEMSET(info, 0, sizeof(struct acpi_evaluate_info));
info->prefix_node = device_node;
info->pathname = METHOD_NAME__INI;
info->parameters = NULL;