Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Atta, Ahsan and committed by
Herbert Xu
ba171135 1e3012d0

+3 -3
+3 -3
drivers/crypto/qat/qat_common/adf_cfg_user.h
··· 58 58 uint64_t padding3; 59 59 }; 60 60 enum adf_cfg_val_type type; 61 - }; 61 + } __packed; 62 62 63 63 struct adf_user_cfg_section { 64 64 char name[ADF_CFG_MAX_SECTION_LEN_IN_BYTES]; ··· 70 70 struct adf_user_cfg_section *next; 71 71 uint64_t padding3; 72 72 }; 73 - }; 73 + } __packed; 74 74 75 75 struct adf_user_cfg_ctl_data { 76 76 union { ··· 78 78 uint64_t padding; 79 79 }; 80 80 uint8_t device_id; 81 - }; 81 + } __packed; 82 82 #endif