summaryrefslogtreecommitdiff
path: root/crypto/digest.c
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2007-05-09 08:58:32 +0200
committerJens Axboe <jens.axboe@oracle.com>2007-10-16 11:07:09 +0200
commit801ad59a8410cd9770639e3d8b65c5e99f461e9d (patch)
tree4a6be76f30cc03945d45499ac2c5f011402a395a /crypto/digest.c
parentc5c1d395ce9ce56fa73677bc8945a7b79bbb5f47 (diff)
downloadlinux-crypto-801ad59a8410cd9770639e3d8b65c5e99f461e9d.tar.gz
linux-crypto-801ad59a8410cd9770639e3d8b65c5e99f461e9d.zip
crypto: don't pollute the global namespace with sg_next()
It's a subsystem function, prefix it as such. Acked-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'crypto/digest.c')
-rw-r--r--crypto/digest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/digest.c b/crypto/digest.c
index 1bf7414a..e56de674 100644
--- a/crypto/digest.c
+++ b/crypto/digest.c
@@ -77,7 +77,7 @@ static int update2(struct hash_desc *desc,
if (!nbytes)
break;
- sg = sg_next(sg);
+ sg = scatterwalk_sg_next(sg);
}
return 0;