Patrick Georgi has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/40518 )
Change subject: security/vboot: Fix build error ......................................................................
security/vboot: Fix build error
There has been some overlap between changes: CB:40389 introduced a new use of write_secdata while CB:40359 removed that function in favor of safe_write.
Follow the refactor of the latter in the code introduced by the former.
Change-Id: Ib8dfcd61bb79e0a487eaa60e719bd93561f2d97a Signed-off-by: Patrick Georgi pgeorgi@google.com --- M src/security/vboot/secdata_tpm.c 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/18/40518/1
diff --git a/src/security/vboot/secdata_tpm.c b/src/security/vboot/secdata_tpm.c index 672578a..d666ae8 100644 --- a/src/security/vboot/secdata_tpm.c +++ b/src/security/vboot/secdata_tpm.c @@ -415,7 +415,7 @@ uint8_t size = VB2_SECDATA_KERNEL_MIN_SIZE; vb2api_secdata_kernel_check(ctx, &size);
- return write_secdata(KERNEL_NV_INDEX, ctx->secdata_kernel, size); + return safe_write(KERNEL_NV_INDEX, ctx->secdata_kernel, size); }
uint32_t antirollback_read_space_rec_hash(uint8_t *data, uint32_t size)