diff options
author | Atta, Ahsan <ahsan.atta@intel.com> | 2016-01-11 16:23:47 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-01-25 15:39:02 +0100 |
commit | ba171135bfa584096ca5ee42c9527777b7d48474 (patch) | |
tree | 5bb5a6a7bbf35c5b3cfcc97cca6f21d1d2596fbd /drivers/crypto/qat | |
parent | crypto: s5p-sss - Use memcpy_toio for iomem annotated memory (diff) | |
download | linux-ba171135bfa584096ca5ee42c9527777b7d48474.tar.xz linux-ba171135bfa584096ca5ee42c9527777b7d48474.zip |
crypto: qat - Pack cfg ctl structs
-This is required to support 32bit adf_ctl
utility on a 64bit driver
Signed-off-by: Ahsan Atta <ahsan.atta@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/qat')
-rw-r--r-- | drivers/crypto/qat/qat_common/adf_cfg_user.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/crypto/qat/qat_common/adf_cfg_user.h b/drivers/crypto/qat/qat_common/adf_cfg_user.h index ef5988afd4c6..b5484bfa6996 100644 --- a/drivers/crypto/qat/qat_common/adf_cfg_user.h +++ b/drivers/crypto/qat/qat_common/adf_cfg_user.h @@ -58,7 +58,7 @@ struct adf_user_cfg_key_val { uint64_t padding3; }; enum adf_cfg_val_type type; -}; +} __packed; struct adf_user_cfg_section { char name[ADF_CFG_MAX_SECTION_LEN_IN_BYTES]; @@ -70,7 +70,7 @@ struct adf_user_cfg_section { struct adf_user_cfg_section *next; uint64_t padding3; }; -}; +} __packed; struct adf_user_cfg_ctl_data { union { @@ -78,5 +78,5 @@ struct adf_user_cfg_ctl_data { uint64_t padding; }; uint8_t device_id; -}; +} __packed; #endif |