summaryrefslogtreecommitdiffstats
path: root/src/usr/hdat
diff options
context:
space:
mode:
authornagurram-in <nagendra.g@in.ibm.com>2017-08-29 06:57:46 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-08-29 22:45:04 -0400
commit73d93584f0e8313cc57ebcb6cf8b5f0ddaaec3d6 (patch)
tree40a4336cb79a967558532017eb45f301d19767f3 /src/usr/hdat
parent6b7648ee7cd2a4477dd6247ba8a0ca50e2903fc1 (diff)
downloadtalos-hostboot-73d93584f0e8313cc57ebcb6cf8b5f0ddaaec3d6.tar.gz
talos-hostboot-73d93584f0e8313cc57ebcb6cf8b5f0ddaaec3d6.zip
Fix for packing the NV keyword struct
Change-Id: Ib6845a5965a3c3356333ae912d2f03ab9d035850 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/45288 Reviewed-by: VENKATESH SAINATH <venkatesh.sainath@in.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/hdat')
-rwxr-xr-xsrc/usr/hdat/hdatutil.H2
1 files changed, 1 insertions, 1 deletions
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
{
OpenPOWER on IntegriCloud