aboutsummaryrefslogtreecommitdiffstats
path: root/source/components/namespace/nspredef.c
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2020-11-13 21:41:15 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2020-11-13 21:41:15 +0000
commit960614968e0da10b32875a57ea1e30cc9c85b5e0 (patch)
treeaaf48208a3fb6bc556d860f5100f5a26b92a4a96 /source/components/namespace/nspredef.c
parente09636e66f40fad3b03a8dd4b86b1a371c435631 (diff)
downloadsrc-vendor/acpica.tar.gz
src-vendor/acpica.zip
Notes
Notes: svn path=/vendor-sys/acpica/dist/; revision=367652 svn path=/vendor-sys/acpica/20201113/; revision=367653; tag=vendor/acpica/20201113
Diffstat (limited to 'source/components/namespace/nspredef.c')
-rw-r--r--source/components/namespace/nspredef.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/source/components/namespace/nspredef.c b/source/components/namespace/nspredef.c
index 70aac113c745..7f7965f2bfa7 100644
--- a/source/components/namespace/nspredef.c
+++ b/source/components/namespace/nspredef.c
@@ -223,13 +223,14 @@ AcpiNsCheckReturnValue (
ACPI_STATUS Status;
const ACPI_PREDEFINED_INFO *Predefined;
+ ACPI_FUNCTION_TRACE (NsCheckReturnValue);
/* If not a predefined name, we cannot validate the return object */
Predefined = Info->Predefined;
if (!Predefined)
{
- return (AE_OK);
+ return_ACPI_STATUS (AE_OK);
}
/*
@@ -239,7 +240,7 @@ AcpiNsCheckReturnValue (
if ((ReturnStatus != AE_OK) &&
(ReturnStatus != AE_CTRL_RETURN_VALUE))
{
- return (AE_OK);
+ return_ACPI_STATUS (AE_OK);
}
/*
@@ -259,7 +260,7 @@ AcpiNsCheckReturnValue (
(!Predefined->Info.ExpectedBtypes) ||
(Predefined->Info.ExpectedBtypes == ACPI_RTYPE_ALL))
{
- return (AE_OK);
+ return_ACPI_STATUS (AE_OK);
}
/*
@@ -325,7 +326,7 @@ Exit:
Node->Flags |= ANOBJ_EVALUATED;
}
- return (Status);
+ return_ACPI_STATUS (Status);
}