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@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)