qat: fix build on 32-bit systems
authorJohn Griffin <john.griffin@intel.com>
Thu, 18 Feb 2016 10:57:32 +0000 (10:57 +0000)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 24 Feb 2016 14:31:02 +0000 (15:31 +0100)
commitd5176d630daf95a22794ab54308db4d8fa7416a7
tree5e02783b0be014c17ade88e35db9cc7507197b05
parent591f0e8bb04176aed1a3894d8605b0eb1e66a025
qat: fix build on 32-bit systems

Fixing build on 32-bit systems on quick assist driver - for example:
drivers/crypto/qat/qat_crypto.c: In function ‘qat_alg_write_mbuf_entry’:
drivers/crypto/qat/qat_crypto.c:408:34: error:
cast from pointer to integer of different size [-Werror=pointer-to-int-cast]

Fixes: 1703e94ac5ce ("qat: add driver for QuickAssist devices")

Signed-off-by: John Griffin <john.griffin@intel.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
drivers/crypto/qat/qat_crypto.c
scripts/test-build.sh