diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2007-11-15 12:08:45 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2008-01-11 08:16:14 +1100 |
commit | 468577abe37ff7b453a9ac613e0ea155349203ae (patch) | |
tree | 45151ac6f36be2327bec63cf44870acb1383afb4 /crypto/scatterwalk.c | |
parent | 102d49d3d0f0f471b338b6805001fc3ca7bf663b (diff) | |
download | linux-rpi-468577abe37ff7b453a9ac613e0ea155349203ae.tar.gz linux-rpi-468577abe37ff7b453a9ac613e0ea155349203ae.tar.bz2 linux-rpi-468577abe37ff7b453a9ac613e0ea155349203ae.zip |
[CRYPTO] scatterwalk: Use generic scatterlist chaining
This patch converts the crypto scatterwalk code to use the generic
scatterlist chaining rather the version specific to crypto.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/scatterwalk.c')
-rw-r--r-- | crypto/scatterwalk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/scatterwalk.c b/crypto/scatterwalk.c index b9bbda0bb9f9..206c39a97e57 100644 --- a/crypto/scatterwalk.c +++ b/crypto/scatterwalk.c @@ -62,7 +62,7 @@ static void scatterwalk_pagedone(struct scatter_walk *walk, int out, walk->offset += PAGE_SIZE - 1; walk->offset &= PAGE_MASK; if (walk->offset >= walk->sg->offset + walk->sg->length) - scatterwalk_start(walk, scatterwalk_sg_next(walk->sg)); + scatterwalk_start(walk, sg_next(walk->sg)); } } |