[Skiboot] [PATCH] occ: add missing packed attribute to occ_pstate_entry

Stewart Smith stewart at linux.vnet.ibm.com
Thu Jun 30 17:25:54 AEST 2016


Signed-off-by: Stewart Smith <stewart at linux.vnet.ibm.com>
---
 hw/occ.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/occ.c b/hw/occ.c
index 3ce00c8e3eb5..b606a675390f 100644
--- a/hw/occ.c
+++ b/hw/occ.c
@@ -47,7 +47,7 @@ struct occ_pstate_entry {
 	u8 vdd;
 	u8 vcs;
 	u32 freq_khz;
-};
+} __packed;
 
 /*
  * OCC-OPAL Shared Memory Region Version 2
-- 
2.1.4



More information about the Skiboot mailing list