Revision: 17098
http://sourceforge.net/p/edk2/code/17098
Author: oliviermartin
Date: 2015-04-01 14:50:04 +0000 (Wed, 01 Apr 2015)
Log Message:
-----------
ArmPlatformPkg/ArmJunoDxe: Fixed returned value
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <[email protected]>
Modified Paths:
--------------
trunk/edk2/ArmPlatformPkg/ArmJunoPkg/Drivers/ArmJunoDxe/ArmJunoDxe.c
Modified: trunk/edk2/ArmPlatformPkg/ArmJunoPkg/Drivers/ArmJunoDxe/ArmJunoDxe.c
===================================================================
--- trunk/edk2/ArmPlatformPkg/ArmJunoPkg/Drivers/ArmJunoDxe/ArmJunoDxe.c
2015-04-01 14:49:18 UTC (rev 17097)
+++ trunk/edk2/ArmPlatformPkg/ArmJunoPkg/Drivers/ArmJunoDxe/ArmJunoDxe.c
2015-04-01 14:50:04 UTC (rev 17098)
@@ -307,7 +307,7 @@
Size = 0;
Status = gRT->GetVariable (L"BootOrder", &gEfiGlobalVariableGuid, NULL,
&Size, NULL);
if (Status != EFI_NOT_FOUND) {
- return Status;
+ return EFI_SUCCESS;
}
Status = gBS->LocateProtocol (
@@ -377,7 +377,7 @@
(UINT8*)DefaultBootArgument1, DefaultBootArgument1Size
);
if (EFI_ERROR (Status)) {
- ASSERT (TRUE);
+ ASSERT_EFI_ERROR (Status);
goto Error;
}
@@ -390,7 +390,7 @@
(UINT8*)DefaultBootArgument2, DefaultBootArgument2Size
);
if (EFI_ERROR (Status)) {
- ASSERT (TRUE);
+ ASSERT_EFI_ERROR (Status);
goto Error;
}
@@ -409,7 +409,7 @@
BootOrder
);
- Error:
+Error:
if (BootDevicePath != NULL) {
FreePool (BootDevicePath);
}
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits