diff options
author | Vasant Hegde <hegdevasant@linux.vnet.ibm.com> | 2019-08-28 17:50:23 +0530 |
---|---|---|
committer | Vasant Hegde <hegdevasant@linux.vnet.ibm.com> | 2019-10-23 14:24:46 +0530 |
commit | bf8fa6c3c09f8ccb493d2a5dc04dc09bcffa7f83 (patch) | |
tree | 344150bb642db33ed218dcd614933f69744d0127 /include | |
parent | 97eb962d643633ff7eb1e7d83e8ce7b1e1aa0c2f (diff) | |
download | skiboot-bf8fa6c3c09f8ccb493d2a5dc04dc09bcffa7f83.zip skiboot-bf8fa6c3c09f8ccb493d2a5dc04dc09bcffa7f83.tar.gz skiboot-bf8fa6c3c09f8ccb493d2a5dc04dc09bcffa7f83.tar.bz2 |
MPIPL: struct opal_mpipl_fadump doesn't needs to be packed
[ Upstream commit cc02885770f63d00d2483be4e1627d2cadfffa8a ]
[CC] core/opal-dump.o
core/opal-dump.c: In function ‘post_mpipl_get_opal_data’:
core/opal-dump.c:471:11: warning: taking address of packed member of ‘struct opal_mpipl_fadump’ may result in an unaligned pointer value [-Waddress-of-packed-member]
471 | region = opal_mpipl_data->region;
| ^~~~~~~~~~~~~~~
Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/opal-api.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/opal-api.h b/include/opal-api.h index ee66bbb..ad913bf 100644 --- a/include/opal-api.h +++ b/include/opal-api.h @@ -1242,7 +1242,7 @@ struct opal_mpipl_fadump { u32 cpu_data_size; u32 region_cnt; struct opal_mpipl_region region[]; -} __packed; +}; #endif /* __ASSEMBLY__ */ |