From 9908a9a305699bbca42d0fcff88008ebea522b66 Mon Sep 17 00:00:00 2001 From: Joel Kitching Date: Mon, 29 Jul 2019 18:53:38 +0800 Subject: vboot: replace VBERROR_UNKNOWN with VB2_ERROR_UNKNOWN Replace vboot1-style VBERROR_UNKNOWN with VB2_ERROR_UNKNOWN. BUG=b:124141368, chromium:988410 TEST=make clean && make runtests BRANCH=none Change-Id: Icd2158e328142cff69ce94b5396ab021a1f7839c Signed-off-by: Joel Kitching Cq-Depend: chromium:1728115 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/1722916 Commit-Queue: Joel Kitching Tested-by: Joel Kitching Reviewed-by: Julius Werner --- tests/vboot_api_devmode_tests.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/vboot_api_devmode_tests.c') diff --git a/tests/vboot_api_devmode_tests.c b/tests/vboot_api_devmode_tests.c index 0989aa05..7077b1ed 100644 --- a/tests/vboot_api_devmode_tests.c +++ b/tests/vboot_api_devmode_tests.c @@ -163,7 +163,7 @@ vb2_error_t VbExNvStorageWrite(const uint8_t* buf) vb2_error_t VbExDiskGetInfo(VbDiskInfo** infos_ptr, uint32_t* count, uint32_t disk_flags) { - return VBERROR_UNKNOWN; + return VB2_ERROR_UNKNOWN; } vb2_error_t VbExDiskFreeInfo(VbDiskInfo* infos, @@ -175,13 +175,13 @@ vb2_error_t VbExDiskFreeInfo(VbDiskInfo* infos, vb2_error_t VbExDiskRead(VbExDiskHandle_t handle, uint64_t lba_start, uint64_t lba_count, void* buffer) { - return VBERROR_UNKNOWN; + return VB2_ERROR_UNKNOWN; } vb2_error_t VbExDiskWrite(VbExDiskHandle_t handle, uint64_t lba_start, uint64_t lba_count, const void* buffer) { - return VBERROR_UNKNOWN; + return VB2_ERROR_UNKNOWN; } uint32_t VbExIsShutdownRequested(void) -- cgit v1.2.1