[coreboot-gerrit] Change in coreboot[master]: drivers/intel/fsp1_1: Fix vbt_len type

Matt DeVillier (Code Review) gerrit at coreboot.org
Wed Jun 27 17:38:17 CEST 2018


Matt DeVillier has submitted this change and it was merged. ( https://review.coreboot.org/27224 )

Change subject: drivers/intel/fsp1_1: Fix vbt_len type
......................................................................

drivers/intel/fsp1_1: Fix vbt_len type

Type of vbt_len should be size_t, change to fix compiler error

Change-Id: I22798fa0edb98fcb9acc1b2dd52f34a61bc511e9
Signed-off-by: Matt DeVillier <matt.devillier at gmail.com>
Reviewed-on: https://review.coreboot.org/27224
Tested-by: build bot (Jenkins) <no-reply at coreboot.org>
Reviewed-by: Nico Huber <nico.h at gmx.de>
---
M src/drivers/intel/fsp1_1/vbt.c
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  build bot (Jenkins): Verified
  Nico Huber: Looks good to me, approved



diff --git a/src/drivers/intel/fsp1_1/vbt.c b/src/drivers/intel/fsp1_1/vbt.c
index b73d3a2..b6bb308 100644
--- a/src/drivers/intel/fsp1_1/vbt.c
+++ b/src/drivers/intel/fsp1_1/vbt.c
@@ -26,7 +26,7 @@
 void load_vbt(uint8_t s3_resume, SILICON_INIT_UPD *params)
 {
 	const optionrom_vbt_t *vbt_data = NULL;
-	uint32_t vbt_len;
+	size_t vbt_len;
 
 	/* Check boot mode - for S3 resume path VBT loading is not needed */
 	if (s3_resume) {

-- 
To view, visit https://review.coreboot.org/27224
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I22798fa0edb98fcb9acc1b2dd52f34a61bc511e9
Gerrit-Change-Number: 27224
Gerrit-PatchSet: 3
Gerrit-Owner: Matt DeVillier <matt.devillier at gmail.com>
Gerrit-Reviewer: Matt DeVillier <matt.devillier at gmail.com>
Gerrit-Reviewer: Nico Huber <nico.h at gmx.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply at coreboot.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180627/ec084b4b/attachment.html>


More information about the coreboot-gerrit mailing list