[coreboot-gerrit] Change in coreboot[master]: include/program_loading: Make PROG_INIT clear the entire structure
Raul Rangel (Code Review)
gerrit at coreboot.org
Tue Aug 7 00:12:26 CEST 2018
Raul Rangel has uploaded this change for review. ( https://review.coreboot.org/27882
Change subject: include/program_loading: Make PROG_INIT clear the entire structure
......................................................................
include/program_loading: Make PROG_INIT clear the entire structure
Initialize all the values to prevent garbage values.
BUG=none
TEST=compiled grunt
Change-Id: I38e424ba53c2a2df91e6187ad424caf2d5ca5e98
Signed-off-by: Raul E Rangel <rrangel at chromium.org>
---
M src/include/program_loading.h
1 file changed, 4 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/82/27882/1
diff --git a/src/include/program_loading.h b/src/include/program_loading.h
index 482c8b8..8cc927c 100644
--- a/src/include/program_loading.h
+++ b/src/include/program_loading.h
@@ -72,6 +72,10 @@
{ \
.type = (type_), \
.name = (name_), \
+ .cbfs_type = 0, \
+ .rdev = {0}, \
+ .entry = NULL, \
+ .arg = NULL, \
}
static inline const char *prog_name(const struct prog *prog)
--
To view, visit https://review.coreboot.org/27882
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I38e424ba53c2a2df91e6187ad424caf2d5ca5e98
Gerrit-Change-Number: 27882
Gerrit-PatchSet: 1
Gerrit-Owner: Raul Rangel <rrangel at chromium.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180806/29ff2233/attachment.html>
More information about the coreboot-gerrit
mailing list