]> git.karo-electronics.de Git - karo-tx-linux.git/commit
crypto: qat - Fix assumption that sg in and out will have the same nents
authorTadeusz Struk <tadeusz.struk@intel.com>
Mon, 8 Dec 2014 20:05:42 +0000 (12:05 -0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 22 Dec 2014 12:02:41 +0000 (23:02 +1100)
commit82f82504b8f5f1013678bbc74e0882891114594a
tree115bb17ace856e6a9e3bd5d647bb5929618664ab
parent0f477b655a524515ec9a263d70d51f460c05a161
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>
drivers/crypto/qat/qat_common/qat_algs.c
drivers/crypto/qat/qat_common/qat_crypto.h