evxfevnt.c (193529) | evxfevnt.c (200553) |
---|---|
1/****************************************************************************** 2 * 3 * Module Name: evxfevnt - External Interfaces, ACPI event disable/enable 4 * 5 *****************************************************************************/ 6 7/****************************************************************************** 8 * --- 791 unchanged lines hidden (view full) --- 800 } 801 802 Status = AcpiUtAcquireMutex (ACPI_MTX_NAMESPACE); 803 if (ACPI_FAILURE (Status)) 804 { 805 return (Status); 806 } 807 | 1/****************************************************************************** 2 * 3 * Module Name: evxfevnt - External Interfaces, ACPI event disable/enable 4 * 5 *****************************************************************************/ 6 7/****************************************************************************** 8 * --- 791 unchanged lines hidden (view full) --- 800 } 801 802 Status = AcpiUtAcquireMutex (ACPI_MTX_NAMESPACE); 803 if (ACPI_FAILURE (Status)) 804 { 805 return (Status); 806 } 807 |
808 Node = AcpiNsMapHandleToNode (GpeDevice); | 808 Node = AcpiNsValidateHandle (GpeDevice); |
809 if (!Node) 810 { 811 Status = AE_BAD_PARAMETER; 812 goto UnlockAndExit; 813 } 814 815 /* 816 * For user-installed GPE Block Devices, the GpeBlockBaseNumber --- 83 unchanged lines hidden (view full) --- 900 } 901 902 Status = AcpiUtAcquireMutex (ACPI_MTX_NAMESPACE); 903 if (ACPI_FAILURE (Status)) 904 { 905 return (Status); 906 } 907 | 809 if (!Node) 810 { 811 Status = AE_BAD_PARAMETER; 812 goto UnlockAndExit; 813 } 814 815 /* 816 * For user-installed GPE Block Devices, the GpeBlockBaseNumber --- 83 unchanged lines hidden (view full) --- 900 } 901 902 Status = AcpiUtAcquireMutex (ACPI_MTX_NAMESPACE); 903 if (ACPI_FAILURE (Status)) 904 { 905 return (Status); 906 } 907 |
908 Node = AcpiNsMapHandleToNode (GpeDevice); | 908 Node = AcpiNsValidateHandle (GpeDevice); |
909 if (!Node) 910 { 911 Status = AE_BAD_PARAMETER; 912 goto UnlockAndExit; 913 } 914 915 /* Get the DeviceObject attached to the node */ 916 --- 196 unchanged lines hidden --- | 909 if (!Node) 910 { 911 Status = AE_BAD_PARAMETER; 912 goto UnlockAndExit; 913 } 914 915 /* Get the DeviceObject attached to the node */ 916 --- 196 unchanged lines hidden --- |