diff options
author | Joel Kitching <kitching@google.com> | 2019-07-29 18:51:00 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-08-13 08:23:54 +0000 |
commit | cf49e7b6ae5abee0552b596ec11b695b5d15853c (patch) | |
tree | a6a6ef6cdf73ee3078b07f0c195795d67c625b0b /firmware/stub/vboot_api_stub_disk.c | |
parent | e6b803355ee3dc548a4519a71b29672d856f9bc5 (diff) | |
download | vboot-cf49e7b6ae5abee0552b596ec11b695b5d15853c.tar.gz |
vboot: replace VBERROR_SUCCESS with VB2_SUCCESS
Replace vboot1-style VBERROR_SUCCESS with VB2_SUCCESS
(trivial change since both are equal values).
BUG=b:124141368, chromium:988410
TEST=make clean && make runtests
BRANCH=none
Change-Id: I46e02471a031e9f36ec869d11d0b957d1c1b5769
Signed-off-by: Joel Kitching <kitching@google.com>
Cq-Depend: chromium:1728114
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/1722915
Commit-Queue: Joel Kitching <kitching@chromium.org>
Tested-by: Joel Kitching <kitching@chromium.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'firmware/stub/vboot_api_stub_disk.c')
-rw-r--r-- | firmware/stub/vboot_api_stub_disk.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/firmware/stub/vboot_api_stub_disk.c b/firmware/stub/vboot_api_stub_disk.c index f377b3ae..7dc413fb 100644 --- a/firmware/stub/vboot_api_stub_disk.c +++ b/firmware/stub/vboot_api_stub_disk.c @@ -21,26 +21,26 @@ vb2_error_t VbExDiskGetInfo(VbDiskInfo** infos_ptr, uint32_t* count, { *infos_ptr = NULL; *count = 0; - return VBERROR_SUCCESS; + return VB2_SUCCESS; } vb2_error_t VbExDiskFreeInfo(VbDiskInfo* infos_ptr, VbExDiskHandle_t preserve_handle) { - return VBERROR_SUCCESS; + return VB2_SUCCESS; } vb2_error_t VbExDiskRead(VbExDiskHandle_t handle, uint64_t lba_start, uint64_t lba_count, void* buffer) { - return VBERROR_SUCCESS; + return VB2_SUCCESS; } vb2_error_t VbExDiskWrite(VbExDiskHandle_t handle, uint64_t lba_start, uint64_t lba_count, const void* buffer) { - return VBERROR_SUCCESS; + return VB2_SUCCESS; } |