summaryrefslogtreecommitdiffstats
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
commitab83407e9ee35a4972457aa487be6a7a21afd715 (patch)
tree9429b3019046226083c85dd9867304aca1b0ca08 /crypto/digest.c
parent7e3da6c4b9a69f44b758b2c88190ac33ac4ea1a1 (diff)
downloadlinux-ab83407e9ee35a4972457aa487be6a7a21afd715.tar.gz
linux-ab83407e9ee35a4972457aa487be6a7a21afd715.tar.bz2
linux-ab83407e9ee35a4972457aa487be6a7a21afd715.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 1bf7414aeb9e..e56de6748b15 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;