Deleted Added
full compact
nspredef.c (233250) nspredef.c (233555)
1/******************************************************************************
2 *
3 * Module Name: nspredef - Validation of ACPI predefined methods and objects
4 *
5 *****************************************************************************/
6
7/*
8 * Copyright (C) 2000 - 2012, Intel Corp.

--- 667 unchanged lines hidden (view full) ---

676 * package instead of a Package of Packages (a common error if
677 * there is only one entry). We may be able to repair this by
678 * wrapping the returned Package with a new outer Package.
679 */
680 if (*Elements && ((*Elements)->Common.Type != ACPI_TYPE_PACKAGE))
681 {
682 /* Create the new outer package and populate it */
683
1/******************************************************************************
2 *
3 * Module Name: nspredef - Validation of ACPI predefined methods and objects
4 *
5 *****************************************************************************/
6
7/*
8 * Copyright (C) 2000 - 2012, Intel Corp.

--- 667 unchanged lines hidden (view full) ---

676 * package instead of a Package of Packages (a common error if
677 * there is only one entry). We may be able to repair this by
678 * wrapping the returned Package with a new outer Package.
679 */
680 if (*Elements && ((*Elements)->Common.Type != ACPI_TYPE_PACKAGE))
681 {
682 /* Create the new outer package and populate it */
683
684 Status = AcpiNsWrapWithPackage (Data, *Elements, ReturnObjectPtr);
684 Status = AcpiNsRepairPackageList (Data, ReturnObjectPtr);
685 if (ACPI_FAILURE (Status))
686 {
687 return (Status);
688 }
689
690 /* Update locals to point to the new package (of 1 element) */
691
692 ReturnObject = *ReturnObjectPtr;

--- 551 unchanged lines hidden ---
685 if (ACPI_FAILURE (Status))
686 {
687 return (Status);
688 }
689
690 /* Update locals to point to the new package (of 1 element) */
691
692 ReturnObject = *ReturnObjectPtr;

--- 551 unchanged lines hidden ---