summaryrefslogtreecommitdiff
path: root/source/components/resources/rslist.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/components/resources/rslist.c')
-rw-r--r--source/components/resources/rslist.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/source/components/resources/rslist.c b/source/components/resources/rslist.c
index 187d56cd42b29..c5aeb1b91797a 100644
--- a/source/components/resources/rslist.c
+++ b/source/components/resources/rslist.c
@@ -125,7 +125,7 @@ AcpiRsConvertAmlToResources (
ACPI_ERROR ((AE_INFO,
"Invalid/unsupported resource descriptor: Type 0x%2.2X",
ResourceIndex));
- return (AE_AML_INVALID_RESOURCE_TYPE);
+ return_ACPI_STATUS (AE_AML_INVALID_RESOURCE_TYPE);
}
/* Convert the AML byte stream resource to a local resource struct */
@@ -225,7 +225,7 @@ AcpiRsConvertResourcesToAml (
ACPI_ERROR ((AE_INFO,
"Invalid/unsupported resource descriptor: Type 0x%2.2X",
Resource->Type));
- return (AE_AML_INVALID_RESOURCE_TYPE);
+ return_ACPI_STATUS (AE_AML_INVALID_RESOURCE_TYPE);
}
Status = AcpiRsConvertResourceToAml (Resource,
@@ -272,4 +272,3 @@ AcpiRsConvertResourcesToAml (
return_ACPI_STATUS (AE_AML_NO_RESOURCE_END_TAG);
}
-