diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2007-12-05 04:59:25 -0500 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2008-01-10 16:16:33 -0500 |
commit | b2ab4a57b018aafbba35bff088218f5cc3d2142e (patch) | |
tree | a46c5bd42927c24c69f0786be2651ff3fba6c10e /crypto/digest.c | |
parent | 42c271c6c538857cb13c5ead5184d264d745f675 (diff) |
[CRYPTO] scatterwalk: Restore custom sg chaining for now
Unfortunately the generic chaining hasn't been ported to all architectures
yet, and notably not s390. So this patch restores the chainging that we've
been using previously which does work everywhere.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/digest.c')
-rw-r--r-- | crypto/digest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/digest.c b/crypto/digest.c index 52845f53f8e1..6fd43bddd545 100644 --- a/crypto/digest.c +++ b/crypto/digest.c | |||
@@ -75,7 +75,7 @@ static int update2(struct hash_desc *desc, | |||
75 | 75 | ||
76 | if (!nbytes) | 76 | if (!nbytes) |
77 | break; | 77 | break; |
78 | sg = sg_next(sg); | 78 | sg = scatterwalk_sg_next(sg); |
79 | } | 79 | } |
80 | 80 | ||
81 | return 0; | 81 | return 0; |