summaryrefslogtreecommitdiffstats
path: root/namespace/nsxfeval.c
diff options
context:
space:
mode:
Diffstat (limited to 'namespace/nsxfeval.c')
-rw-r--r--namespace/nsxfeval.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/namespace/nsxfeval.c b/namespace/nsxfeval.c
index 1ba85ab0..a0f96a0 100644
--- a/namespace/nsxfeval.c
+++ b/namespace/nsxfeval.c
@@ -281,7 +281,7 @@ AcpiEvaluateObject (
/* Convert and validate the device handle */
- Info->PrefixNode = AcpiNsMapHandleToNode (Handle);
+ Info->PrefixNode = AcpiNsValidateHandle (Handle);
if (!Info->PrefixNode)
{
Status = AE_BAD_PARAMETER;
@@ -676,7 +676,7 @@ AcpiNsGetDeviceCallback (
return (Status);
}
- Node = AcpiNsMapHandleToNode (ObjHandle);
+ Node = AcpiNsValidateHandle (ObjHandle);
Status = AcpiUtReleaseMutex (ACPI_MTX_NAMESPACE);
if (ACPI_FAILURE (Status))
{
@@ -888,7 +888,7 @@ AcpiAttachData (
/* Convert and validate the handle */
- Node = AcpiNsMapHandleToNode (ObjHandle);
+ Node = AcpiNsValidateHandle (ObjHandle);
if (!Node)
{
Status = AE_BAD_PARAMETER;
@@ -943,7 +943,7 @@ AcpiDetachData (
/* Convert and validate the handle */
- Node = AcpiNsMapHandleToNode (ObjHandle);
+ Node = AcpiNsValidateHandle (ObjHandle);
if (!Node)
{
Status = AE_BAD_PARAMETER;
@@ -1001,7 +1001,7 @@ AcpiGetData (
/* Convert and validate the handle */
- Node = AcpiNsMapHandleToNode (ObjHandle);
+ Node = AcpiNsValidateHandle (ObjHandle);
if (!Node)
{
Status = AE_BAD_PARAMETER;
OpenPOWER on IntegriCloud