ACK: [PATCH] acpica: Fix for _INI regression.

Alex Hung alex.hung at canonical.com
Fri May 10 00:45:31 UTC 2013


On 05/08/2013 03:03 PM, Colin King wrote:
> From: Colin Ian King <colin.king at canonical.com>
>
> This change fixes a problem introduced in 20130328 where _INI methods are no
> longer executed properly because of a memory block that is not initialized
> properly.
> ACPICA BZ 1016. Tomasz Nowicki <tomasz.nowicki at linaro.org>.
>
> Signed-off-by: Colin Ian King <colin.king at canonical.com>
> ---
>   src/acpica/source/components/namespace/nsinit.c | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/src/acpica/source/components/namespace/nsinit.c b/src/acpica/source/components/namespace/nsinit.c
> index e6b9d43..e0fafda 100644
> --- a/src/acpica/source/components/namespace/nsinit.c
> +++ b/src/acpica/source/components/namespace/nsinit.c
> @@ -681,6 +681,7 @@ AcpiNsInitOneDevice (
>       ACPI_DEBUG_EXEC (AcpiUtDisplayInitPathname (
>           ACPI_TYPE_METHOD, DeviceNode, METHOD_NAME__INI));
>
> +    ACPI_MEMSET (Info, 0, sizeof (ACPI_EVALUATE_INFO));
>       Info->PrefixNode = DeviceNode;
>       Info->RelativePathname = METHOD_NAME__INI;
>       Info->Parameters = NULL;
>
Acked-by: Alex Hung <alex.hung at canonical.com>



More information about the fwts-devel mailing list