diff options
author | Tadeusz Struk <tadeusz.struk@intel.com> | 2014-12-08 12:05:42 -0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2014-12-22 23:02:41 +1100 |
commit | 82f82504b8f5f1013678bbc74e0882891114594a (patch) | |
tree | 115bb17ace856e6a9e3bd5d647bb5929618664ab /drivers/crypto/qat/qat_common/qat_crypto.h | |
parent | 0f477b655a524515ec9a263d70d51f460c05a161 (diff) | |
download | linux-82f82504b8f5f1013678bbc74e0882891114594a.tar.gz linux-82f82504b8f5f1013678bbc74e0882891114594a.tar.bz2 linux-82f82504b8f5f1013678bbc74e0882891114594a.zip |
crypto: qat - Fix assumption that sg in and out will have the same nents
Fixed invalid assumpion that the sgl in and sgl out will always have the same
number of entries.
Signed-off-by: Tadeusz Struk <tadeusz.struk@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/qat/qat_common/qat_crypto.h')
-rw-r--r-- | drivers/crypto/qat/qat_common/qat_crypto.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/crypto/qat/qat_common/qat_crypto.h b/drivers/crypto/qat/qat_common/qat_crypto.h index ab8468d11ddb..fcb323116e60 100644 --- a/drivers/crypto/qat/qat_common/qat_crypto.h +++ b/drivers/crypto/qat/qat_common/qat_crypto.h @@ -72,6 +72,7 @@ struct qat_crypto_request_buffs { struct qat_alg_buf_list *blout; dma_addr_t bloutp; size_t sz; + size_t sz_out; }; struct qat_crypto_request { |