crypto/qat: fix block size error handling
authorArek Kusztal <arkadiuszx.kusztal@intel.com>
Wed, 12 Dec 2018 19:59:02 +0000 (20:59 +0100)
committerAkhil Goyal <akhil.goyal@nxp.com>
Wed, 19 Dec 2018 10:19:10 +0000 (11:19 +0100)
commit93685b1fbf37d508032a4d640b67cd63075f93b9
tree797d2788de540b7817b3c5584941e5dc963b6c79
parentf1bd2f4c7483cfbdb3d385f9f496826f7987df65
crypto/qat: fix block size error handling

Error code of qat_hash_get_block_size needs to be handle properly.

Fixes: 10b49880e3c5 ("crypto/qat: make the session struct variable in size")
Cc: stable@dpdk.org
Signed-off-by: Arek Kusztal <arkadiuszx.kusztal@intel.com>
Acked-by: Fiona Trahe <fiona.trahe@intel.com>
Tested-by: Marko Kovacevic <marko.kovacevic@intel.com>
Acked-by: Marko Kovacevic <marko.kovacevic@intel.com>
drivers/crypto/qat/qat_sym_session.c