diff mbox

crypto: qat - Pack cfg ctl structs

Message ID 1452525827-22588-1-git-send-email-ahsan.atta@intel.com (mailing list archive)
State Accepted
Delegated to: Herbert Xu
Headers show

Commit Message

Ahsan Atta Jan. 11, 2016, 3:23 p.m. UTC
-This is required to support 32bit adf_ctl
	 utility on a 64bit driver

Signed-off-by: Ahsan Atta <ahsan.atta@intel.com>
---
 drivers/crypto/qat/qat_common/adf_cfg_user.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

Comments

Herbert Xu Jan. 25, 2016, 2:48 p.m. UTC | #1
On Mon, Jan 11, 2016 at 03:23:47PM +0000, Ahsan Atta wrote:
> 	-This is required to support 32bit adf_ctl
> 	 utility on a 64bit driver
> 
> Signed-off-by: Ahsan Atta <ahsan.atta@intel.com>

Applied.
diff mbox

Patch

diff --git a/drivers/crypto/qat/qat_common/adf_cfg_user.h b/drivers/crypto/qat/qat_common/adf_cfg_user.h
index ef5988a..b5484bf 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