diff options
author | Tadeusz Struk <tadeusz.struk@intel.com> | 2016-03-22 13:45:25 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-04-05 08:35:52 -0400 |
commit | 082ebe92ca7f09845f0550e85837a878d6cedb34 (patch) | |
tree | 547a1e23c4ebde85f6951984c67532d4c5de6f8a | |
parent | 0bb5c9ead62f4e1eaf226744076e0b4e8348f68f (diff) |
crypto: qat - make sure const_tab is 1024 bytes aligned
FW requires the const_tab to be 1024 bytes aligned.
Signed-off-by: Tadeusz Struk <tadeusz.struk@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-rw-r--r-- | drivers/crypto/qat/qat_common/adf_admin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/qat/qat_common/adf_admin.c b/drivers/crypto/qat/qat_common/adf_admin.c index eb557f69e367..ce7c4626c983 100644 --- a/drivers/crypto/qat/qat_common/adf_admin.c +++ b/drivers/crypto/qat/qat_common/adf_admin.c | |||
@@ -61,7 +61,7 @@ | |||
61 | #define ADF_DH895XCC_MAILBOX_STRIDE 0x1000 | 61 | #define ADF_DH895XCC_MAILBOX_STRIDE 0x1000 |
62 | #define ADF_ADMINMSG_LEN 32 | 62 | #define ADF_ADMINMSG_LEN 32 |
63 | 63 | ||
64 | static const u8 const_tab[1024] = { | 64 | static const u8 const_tab[1024] __aligned(1024) = { |
65 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | 65 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
66 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | 66 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
67 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | 67 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |