commit | 7c001a8650e67cb293120044c3f62756258ed27c | [log] [tgz] |
---|---|---|
author | Herbert Xu <herbert@gondor.apana.org.au> | Tue Jul 12 13:17:52 2016 +0800 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Mon Jul 18 17:35:48 2016 +0800 |
tree | 3e9746ad358e23a0380f38a5a11005927951e4da | |
parent | 3a01d0ee2b991c8c267620e63a4ab47cd8c30cc4 [diff] |
crypto: omap - Stop using crypto scatterwalk_bytes_sglen We already have a generic function sg_nents_for_len which does the same thing. This patch switches omap over to it and also adds error handling in case the SG list is short. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>