projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Convert CONFIG_PHY_RESET_DELAY to Kconfig
[platform/kernel/u-boot.git]
/
common
/
avb_verify.c
diff --git
a/common/avb_verify.c
b/common/avb_verify.c
index
db10d0f
..
0520a71
100644
(file)
--- a/
common/avb_verify.c
+++ b/
common/avb_verify.c
@@
-369,7
+369,7
@@
static struct mmc_part *get_partition(AvbOps *ops, const char *partition)
}
ret = part_get_info_by_name(mmc_blk, partition, &part->info);
- if (
!ret
) {
+ if (
ret < 0
) {
printf("Can't find partition '%s'\n", partition);
goto err;
}