diff options
author | Phil Sutter <phil.sutter@viprinet.com> | 2011-05-05 15:29:02 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2011-05-11 07:06:18 +0200 |
commit | 6677a776cf3dc4950a790946f88d26dafc4baf7b (patch) | |
tree | 7554959e21ad98344c8e150f71c3aade49fca233 /MAINTAINERS | |
parent | crypto: mv_cesa - no need to save digest state after the last chunk (diff) | |
download | linux-6677a776cf3dc4950a790946f88d26dafc4baf7b.tar.xz linux-6677a776cf3dc4950a790946f88d26dafc4baf7b.zip |
crypto: mv_cesa - refactor copy_src_to_buf()
The main goal was to have it not do anything when a zero len parameter
was being passed (which could lead to a null pointer dereference, as in
this case p->src_sg is null, either). Using the min() macro, the lower
part of the loop gets simpler, too.
Signed-off-by: Phil Sutter <phil.sutter@viprinet.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions