[coreboot-gerrit] Change in coreboot[master]: soc/intel/skylake: Fix GCC 7.1 compilation error
Subrata Banik (Code Review)
gerrit at coreboot.org
Mon Jul 24 08:36:29 CEST 2017
Subrata Banik has uploaded this change for review. ( https://review.coreboot.org/20739
Change subject: soc/intel/skylake: Fix GCC 7.1 compilation error
......................................................................
soc/intel/skylake: Fix GCC 7.1 compilation error
As per GCC 7.1 compiler struct reset_reply is consider
as uninitialized inside send_heci_reset_message function.
Change-Id: Ide53a9267dfba1a00263ada1d7016a48ecb9aad8
Signed-off-by: Subrata Banik <subrata.banik at intel.com>
---
M src/soc/intel/skylake/me.c
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/39/20739/1
diff --git a/src/soc/intel/skylake/me.c b/src/soc/intel/skylake/me.c
index bf826ed..4f36c73 100644
--- a/src/soc/intel/skylake/me.c
+++ b/src/soc/intel/skylake/me.c
@@ -673,6 +673,7 @@
return -1;
reply_size = sizeof(reply);
+ memset(&reply, 0, reply_size);
if (recv_heci_message(&reply, &reply_size) == -1)
return -1;
/* get reply result from HECI MSG */
--
To view, visit https://review.coreboot.org/20739
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ide53a9267dfba1a00263ada1d7016a48ecb9aad8
Gerrit-Change-Number: 20739
Gerrit-PatchSet: 1
Gerrit-Owner: Subrata Banik <subrata.banik at intel.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20170724/826afed6/attachment.html>
More information about the coreboot-gerrit
mailing list