summaryrefslogtreecommitdiff
path: root/firmware/2lib/include/2return_codes.h
diff options
context:
space:
mode:
authorRandall Spangler <rspangler@chromium.org>2016-09-09 10:49:37 -0700
committerchrome-bot <chrome-bot@chromium.org>2016-09-15 16:16:13 -0700
commitf87aa72d4b49ff5fa2760227a99d9a5d90e557c1 (patch)
tree03a537886887b7751a067baa22da3d0895f62764 /firmware/2lib/include/2return_codes.h
parentb56b5f8e06b4cc4d4105a8141b3d2b8647eedff6 (diff)
downloadvboot-f87aa72d4b49ff5fa2760227a99d9a5d90e557c1.tar.gz
tests: Fix coverity warnings
Assorted minor code issues, which we should fix so any new errors stand out more. BUG=chromium:643769 BRANCH=none TEST=make runtests Change-Id: I927571f8a30794c70228506afe4da3eda86f765b Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/383953 Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Diffstat (limited to 'firmware/2lib/include/2return_codes.h')
-rw-r--r--firmware/2lib/include/2return_codes.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/firmware/2lib/include/2return_codes.h b/firmware/2lib/include/2return_codes.h
index af867267..27b80d16 100644
--- a/firmware/2lib/include/2return_codes.h
+++ b/firmware/2lib/include/2return_codes.h
@@ -755,6 +755,14 @@ enum vb2_return_code {
VB2_FW_PREAMBLE_CREATE_SIGN,
/**********************************************************************
+ * Errors generated by unit test functions
+ */
+ VB2_ERROR_UNIT_TEST = VB2_ERROR_HOST_BASE + 0x060000,
+
+ /* Unable to open an input file needed for a unit test */
+ VB2_ERROR_TEST_INPUT_FILE,
+
+ /**********************************************************************
* Highest non-zero error generated inside vboot library. Note that
* error codes passed through vboot when it calls external APIs may
* still be outside this range.