diff options
Diffstat (limited to 'tests/vb2_misc_tests.c')
-rw-r--r-- | tests/vb2_misc_tests.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/tests/vb2_misc_tests.c b/tests/vb2_misc_tests.c index 85a6e697..a9f82531 100644 --- a/tests/vb2_misc_tests.c +++ b/tests/vb2_misc_tests.c @@ -57,11 +57,9 @@ struct vb2_gbb_header *vb2_get_gbb(struct vb2_context *c) return &gbb; } -int vb2ex_read_resource(struct vb2_context *c, - enum vb2_resource_index index, - uint32_t offset, - void *buf, - uint32_t size) +vb2_error_t vb2ex_read_resource(struct vb2_context *c, + enum vb2_resource_index index, uint32_t offset, + void *buf, uint32_t size) { if (index != mock_resource_index) return VB2_ERROR_EX_READ_RESOURCE_INDEX; @@ -73,7 +71,7 @@ int vb2ex_read_resource(struct vb2_context *c, return VB2_SUCCESS; } -int vb2ex_tpm_clear_owner(struct vb2_context *c) +vb2_error_t vb2ex_tpm_clear_owner(struct vb2_context *c) { mock_tpm_clear_called++; |