summaryrefslogtreecommitdiffstats
path: root/compiler/aslload.c
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2010-01-21 20:56:18 +0000
committerjkim <jkim@FreeBSD.org>2010-01-21 20:56:18 +0000
commitfc2ff8b4ae15e9952d34803553e9917c8091d72a (patch)
tree4b6b1812ecf638d285ab3b645feee1416d0f343b /compiler/aslload.c
parent5eb20ec0efedaa5c449001fed0391ff67b8af8bb (diff)
downloadFreeBSD-src-fc2ff8b4ae15e9952d34803553e9917c8091d72a.zip
FreeBSD-src-fc2ff8b4ae15e9952d34803553e9917c8091d72a.tar.gz
Import ACPICA 20100121.
Diffstat (limited to 'compiler/aslload.c')
-rw-r--r--compiler/aslload.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/compiler/aslload.c b/compiler/aslload.c
index fab67cc..5e9fa1b 100644
--- a/compiler/aslload.c
+++ b/compiler/aslload.c
@@ -8,7 +8,7 @@
*
* 1. Copyright Notice
*
- * Some or all of this work - Copyright (c) 1999 - 2009, Intel Corp.
+ * Some or all of this work - Copyright (c) 1999 - 2010, Intel Corp.
* All rights reserved.
*
* 2. License
@@ -534,7 +534,7 @@ LdNamespace1Begin (
if (Op->Asl.CompileFlags == NODE_IS_RESOURCE_DESC)
{
Status = LdLoadResourceElements (Op, WalkState);
- goto Exit;
+ return_ACPI_STATUS (Status);
}
ObjectType = AslMapNamedOpcodeToDataType (Op->Asl.AmlOpcode);
@@ -578,7 +578,7 @@ LdNamespace1Begin (
AslCoreSubsystemError (Op, Status,
"Failure from namespace lookup", FALSE);
- goto Exit;
+ return_ACPI_STATUS (Status);
}
/* We found a node with this name, now check the type */
@@ -713,15 +713,14 @@ LdNamespace1Begin (
AslError (ASL_ERROR, ASL_MSG_NAME_EXISTS, Op,
Op->Asl.ExternalName);
- Status = AE_OK;
- goto Exit;
+ return_ACPI_STATUS (AE_OK);
}
}
else
{
AslCoreSubsystemError (Op, Status,
"Failure from namespace lookup", FALSE);
- goto Exit;
+ return_ACPI_STATUS (Status);
}
}
@@ -759,8 +758,7 @@ FinishNode:
Node->Value = (UINT32) Op->Asl.Extra;
}
-Exit:
- return (Status);
+ return_ACPI_STATUS (Status);
}
OpenPOWER on IntegriCloud