commit | b7ec8530687a5b44654ee59c236579c2d890357f | [log] [tgz] |
---|---|---|
author | Gilad Ben-Yossef <gilad@benyossef.com> | Thu Apr 18 16:38:52 2019 +0300 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Thu Apr 25 15:38:14 2019 +0800 |
tree | 25918630e1d821ca70cd47085fdbd9de9892fdd9 | |
parent | dcb2cf1d2c760bcf6390b72a9a74a3e5482ab949 [diff] |
crypto: ccree - use std api when possible Move to use the std api sg_nents_for_len() when we do not in fact require the extra information about the number of bytes in the last entry provided by the in-driver variant cc_get_sgl_nents(). This also resolves a Coverity warning cause by us not using the output value. Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>