summaryrefslogtreecommitdiff
path: root/drivers/crypto/qce
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2015-08-07 19:15:13 +0300
committerJens Axboe <axboe@fb.com>2015-08-17 17:12:54 +0300
commitc56f6d1270b9fc31144b59106bc8590c2acf4a8e (patch)
treeaed4bd399c4b10300da7283e935688d7374e1c3d /drivers/crypto/qce
parent02c4de53add1b799f5663d5e9c8e9a5d9366a507 (diff)
downloadlinux-c56f6d1270b9fc31144b59106bc8590c2acf4a8e.tar.xz
crypto: replace scatterwalk_sg_chain with sg_chain
Signed-off-by: Dan Williams <dan.j.williams@intel.com> [hch: split from a larger patch by Dan] Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/crypto/qce')
-rw-r--r--drivers/crypto/qce/sha.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/qce/sha.c b/drivers/crypto/qce/sha.c
index 5c5df1d17f90..be2f5049256a 100644
--- a/drivers/crypto/qce/sha.c
+++ b/drivers/crypto/qce/sha.c
@@ -296,7 +296,7 @@ static int qce_ahash_update(struct ahash_request *req)
if (rctx->buflen) {
sg_init_table(rctx->sg, 2);
sg_set_buf(rctx->sg, rctx->tmpbuf, rctx->buflen);
- scatterwalk_sg_chain(rctx->sg, 2, req->src);
+ sg_chain(rctx->sg, 2, req->src);
req->src = rctx->sg;
}