evxface.c (193529) | evxface.c (200553) |
---|---|
1/****************************************************************************** 2 * 3 * Module Name: evxface - External interfaces for ACPI events 4 * 5 *****************************************************************************/ 6 7/****************************************************************************** 8 * --- 354 unchanged lines hidden (view full) --- 363 Status = AcpiUtAcquireMutex (ACPI_MTX_NAMESPACE); 364 if (ACPI_FAILURE (Status)) 365 { 366 return_ACPI_STATUS (Status); 367 } 368 369 /* Convert and validate the device handle */ 370 | 1/****************************************************************************** 2 * 3 * Module Name: evxface - External interfaces for ACPI events 4 * 5 *****************************************************************************/ 6 7/****************************************************************************** 8 * --- 354 unchanged lines hidden (view full) --- 363 Status = AcpiUtAcquireMutex (ACPI_MTX_NAMESPACE); 364 if (ACPI_FAILURE (Status)) 365 { 366 return_ACPI_STATUS (Status); 367 } 368 369 /* Convert and validate the device handle */ 370 |
371 Node = AcpiNsMapHandleToNode (Device); | 371 Node = AcpiNsValidateHandle (Device); |
372 if (!Node) 373 { 374 Status = AE_BAD_PARAMETER; 375 goto UnlockAndExit; 376 } 377 378 /* 379 * Root Object: --- 170 unchanged lines hidden (view full) --- 550 Status = AcpiUtAcquireMutex (ACPI_MTX_NAMESPACE); 551 if (ACPI_FAILURE (Status)) 552 { 553 return_ACPI_STATUS (Status); 554 } 555 556 /* Convert and validate the device handle */ 557 | 372 if (!Node) 373 { 374 Status = AE_BAD_PARAMETER; 375 goto UnlockAndExit; 376 } 377 378 /* 379 * Root Object: --- 170 unchanged lines hidden (view full) --- 550 Status = AcpiUtAcquireMutex (ACPI_MTX_NAMESPACE); 551 if (ACPI_FAILURE (Status)) 552 { 553 return_ACPI_STATUS (Status); 554 } 555 556 /* Convert and validate the device handle */ 557 |
558 Node = AcpiNsMapHandleToNode (Device); | 558 Node = AcpiNsValidateHandle (Device); |
559 if (!Node) 560 { 561 Status = AE_BAD_PARAMETER; 562 goto UnlockAndExit; 563 } 564 565 /* Root Object */ 566 --- 401 unchanged lines hidden --- | 559 if (!Node) 560 { 561 Status = AE_BAD_PARAMETER; 562 goto UnlockAndExit; 563 } 564 565 /* Root Object */ 566 --- 401 unchanged lines hidden --- |