OSDN Git Service

crypto: caam - fix caam_dump_sg that iterates through scatterlist
authorIuliana Prodan <iuliana.prodan@nxp.com>
Tue, 7 May 2019 13:37:03 +0000 (16:37 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 9 May 2019 05:17:56 +0000 (13:17 +0800)
commit8c65d35435e8cbfdf953cafe5ebe3648ee9276a2
treec81e1912d54da5975207ac086fb13b2539ea6a2a
parent24586b5feaf17ecf85ae6259fe3ea7815dee432d
crypto: caam - fix caam_dump_sg that iterates through scatterlist

Fix caam_dump_sg by correctly determining the next scatterlist
entry in the list.

Fixes: 5ecf8ef9103c ("crypto: caam - fix sg dump")
Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
Reviewed-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/error.c