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

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>

authored by

Tadeusz Struk and committed by
Herbert Xu
082ebe92 0bb5c9ea

+1 -1
+1 -1
drivers/crypto/qat/qat_common/adf_admin.c
··· 61 61 #define ADF_DH895XCC_MAILBOX_STRIDE 0x1000 62 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 65 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 66 66 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 67 67 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,