Skip to content

Commit ba17113

Browse files
Ahsan-Attaherbertx
authored andcommitted
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>
1 parent 1e3012d commit ba17113

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/crypto/qat/qat_common/adf_cfg_user.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ struct adf_user_cfg_key_val {
5858
uint64_t padding3;
5959
};
6060
enum adf_cfg_val_type type;
61-
};
61+
} __packed;
6262

6363
struct adf_user_cfg_section {
6464
char name[ADF_CFG_MAX_SECTION_LEN_IN_BYTES];
@@ -70,13 +70,13 @@ struct adf_user_cfg_section {
7070
struct adf_user_cfg_section *next;
7171
uint64_t padding3;
7272
};
73-
};
73+
} __packed;
7474

7575
struct adf_user_cfg_ctl_data {
7676
union {
7777
struct adf_user_cfg_section *config_section;
7878
uint64_t padding;
7979
};
8080
uint8_t device_id;
81-
};
81+
} __packed;
8282
#endif

0 commit comments

Comments
 (0)