From 73d93584f0e8313cc57ebcb6cf8b5f0ddaaec3d6 Mon Sep 17 00:00:00 2001 From: nagurram-in Date: Tue, 29 Aug 2017 06:57:46 -0500 Subject: Fix for packing the NV keyword struct Change-Id: Ib6845a5965a3c3356333ae912d2f03ab9d035850 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/45288 Reviewed-by: VENKATESH SAINATH Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell --- src/usr/hdat/hdatutil.H | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/usr/hdat') diff --git a/src/usr/hdat/hdatutil.H b/src/usr/hdat/hdatutil.H index a509a1feb..39400343b 100755 --- a/src/usr/hdat/hdatutil.H +++ b/src/usr/hdat/hdatutil.H @@ -150,7 +150,7 @@ typedef struct{ uint8_t version; // Version of the structure = 0x01 start uint8_t config; // Configuration specifier : redbud=0x01,sequoia=0x02 uint8_t reserved[249]; // keyword is 255 bytes long -}hdatNVKwdStruct_t; +}__attribute__ ((packed)) hdatNVKwdStruct_t; enum hdatSMPLinkUsage { -- cgit v1.2.1