summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/bfin_crc.c
diff options
context:
space:
mode:
authorDan Williams2015-08-07 18:15:13 +0200
committerJens Axboe2015-08-17 16:12:54 +0200
commitc56f6d1270b9fc31144b59106bc8590c2acf4a8e (patch)
treeaed4bd399c4b10300da7283e935688d7374e1c3d /drivers/crypto/bfin_crc.c
parenttarget/rd: always chain S/G list (diff)
downloadkernel-qcow2-linux-c56f6d1270b9fc31144b59106bc8590c2acf4a8e.tar.gz
kernel-qcow2-linux-c56f6d1270b9fc31144b59106bc8590c2acf4a8e.tar.xz
kernel-qcow2-linux-c56f6d1270b9fc31144b59106bc8590c2acf4a8e.zip
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/bfin_crc.c')
-rw-r--r--drivers/crypto/bfin_crc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/crypto/bfin_crc.c b/drivers/crypto/bfin_crc.c
index d9af9403ab6c..2f0b3337505d 100644
--- a/drivers/crypto/bfin_crc.c
+++ b/drivers/crypto/bfin_crc.c
@@ -370,8 +370,7 @@ static int bfin_crypto_crc_handle_queue(struct bfin_crypto_crc *crc,
sg_init_table(ctx->bufsl, nsg);
sg_set_buf(ctx->bufsl, ctx->buflast, ctx->buflast_len);
if (nsg > 1)
- scatterwalk_sg_chain(ctx->bufsl, nsg,
- req->src);
+ sg_chain(ctx->bufsl, nsg, req->src);
ctx->sg = ctx->bufsl;
} else
ctx->sg = req->src;