Commit ba171135 authored by Atta, Ahsan's avatar Atta, Ahsan Committed by Herbert Xu

crypto: qat - Pack cfg ctl structs

-This is required to support 32bit adf_ctl
	 utility on a 64bit driver
Signed-off-by: default avatarAhsan Atta <ahsan.atta@intel.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 1e3012d0
...@@ -58,7 +58,7 @@ struct adf_user_cfg_key_val { ...@@ -58,7 +58,7 @@ struct adf_user_cfg_key_val {
uint64_t padding3; uint64_t padding3;
}; };
enum adf_cfg_val_type type; enum adf_cfg_val_type type;
}; } __packed;
struct adf_user_cfg_section { struct adf_user_cfg_section {
char name[ADF_CFG_MAX_SECTION_LEN_IN_BYTES]; char name[ADF_CFG_MAX_SECTION_LEN_IN_BYTES];
...@@ -70,7 +70,7 @@ struct adf_user_cfg_section { ...@@ -70,7 +70,7 @@ struct adf_user_cfg_section {
struct adf_user_cfg_section *next; struct adf_user_cfg_section *next;
uint64_t padding3; uint64_t padding3;
}; };
}; } __packed;
struct adf_user_cfg_ctl_data { struct adf_user_cfg_ctl_data {
union { union {
...@@ -78,5 +78,5 @@ struct adf_user_cfg_ctl_data { ...@@ -78,5 +78,5 @@ struct adf_user_cfg_ctl_data {
uint64_t padding; uint64_t padding;
}; };
uint8_t device_id; uint8_t device_id;
}; } __packed;
#endif #endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment