rsxface.c (193529) | rsxface.c (200553) |
---|---|
1/******************************************************************************* 2 * 3 * Module Name: rsxface - Public interfaces to the resource manager 4 * 5 ******************************************************************************/ 6 7/****************************************************************************** 8 * --- 177 unchanged lines hidden (view full) --- 186 /* 187 * Must have a valid handle to an ACPI device 188 */ 189 if (!DeviceHandle) 190 { 191 return_ACPI_STATUS (AE_BAD_PARAMETER); 192 } 193 | 1/******************************************************************************* 2 * 3 * Module Name: rsxface - Public interfaces to the resource manager 4 * 5 ******************************************************************************/ 6 7/****************************************************************************** 8 * --- 177 unchanged lines hidden (view full) --- 186 /* 187 * Must have a valid handle to an ACPI device 188 */ 189 if (!DeviceHandle) 190 { 191 return_ACPI_STATUS (AE_BAD_PARAMETER); 192 } 193 |
194 Node = AcpiNsMapHandleToNode (DeviceHandle); | 194 Node = AcpiNsValidateHandle (DeviceHandle); |
195 if (!Node) 196 { 197 return_ACPI_STATUS (AE_BAD_PARAMETER); 198 } 199 200 if (Node->Type != ACPI_TYPE_DEVICE) 201 { 202 return_ACPI_STATUS (AE_TYPE); --- 511 unchanged lines hidden --- | 195 if (!Node) 196 { 197 return_ACPI_STATUS (AE_BAD_PARAMETER); 198 } 199 200 if (Node->Type != ACPI_TYPE_DEVICE) 201 { 202 return_ACPI_STATUS (AE_TYPE); --- 511 unchanged lines hidden --- |