crypto/qat: fix parameter type
authorTomasz Jozwiak <tomaszx.jozwiak@intel.com>
Mon, 22 Jan 2018 16:28:05 +0000 (17:28 +0100)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Mon, 29 Jan 2018 19:22:33 +0000 (20:22 +0100)
commitc202320775bb8094c41eaaff562a38cd6d7bce70
tree5c84c7b43b99342bad80544949faab977760c8c3
parent2c4e6fd19ce5d5ab13e39535583a63575c0d3f1f
crypto/qat: fix parameter type

This commit fixes right cast from qat_cipher_get_block_size
function. This function can return -EFAULT in case of
any error, and that value must be cast to int instead of uint8_t

Fixes: d18ab45f7654 ("crypto/qat: support DOCSIS BPI mode")
Cc: stable@dpdk.org
Signed-off-by: Tomasz Jozwiak <tomaszx.jozwiak@intel.com>
Acked-by: Fiona Trahe <fiona.trahe@intel.com>
drivers/crypto/qat/qat_crypto.c