projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fdtdec: test: Fix build warning
[oweals/u-boot.git]
/
lib
/
libavb
/
avb_cmdline.c
diff --git
a/lib/libavb/avb_cmdline.c
b/lib/libavb/avb_cmdline.c
index 91a6615c740d956c9353da05151c35a56d6f1ac1..d24669927203fbd219e357cfac2830fb9e9088fe 100644
(file)
--- a/
lib/libavb/avb_cmdline.c
+++ b/
lib/libavb/avb_cmdline.c
@@
-331,6
+331,9
@@
AvbSlotVerifyResult avb_append_options(
verity_mode = "logging";
dm_verity_mode = "ignore_corruption";
break;
+ default:
+ ret = AVB_SLOT_VERIFY_RESULT_ERROR_INVALID_ARGUMENT;
+ goto out;
}
new_ret = avb_replace(
slot_data->cmdline, "$(ANDROID_VERITY_MODE)", dm_verity_mode);