]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitca8d1625f499c260e6809fa832be470b1c14dbf3
treec81e1912d54da5975207ac086fb13b2539ea6a2a
parentd6ff9cc03bf94c2bf6a5495059f179571c13ce87
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: e7e81639a0c1 ("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