projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dm: pci: change bus number register setting compliant with Linux
[oweals/u-boot.git]
/
lib
/
efi_selftest
/
efi_selftest_tpl.c
diff --git
a/lib/efi_selftest/efi_selftest_tpl.c
b/lib/efi_selftest/efi_selftest_tpl.c
index b8c0e70262dbe196068f688a53052b84f952e21b..ddb67ed268ba4af25f8a789d319740f46230690d 100644
(file)
--- a/
lib/efi_selftest/efi_selftest_tpl.c
+++ b/
lib/efi_selftest/efi_selftest_tpl.c
@@
-207,7
+207,7
@@
static int execute(void)
return EFI_ST_FAILURE;
}
ret = boottime->set_timer(event_wait, EFI_TIMER_STOP, 0);
- if (
index != 0
) {
+ if (
ret != EFI_SUCCESS
) {
efi_st_error("Could not cancel timer\n");
return EFI_ST_FAILURE;
}