]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
committerKhalid Elmously <khalid.elmously@canonical.com>
Fri, 14 Feb 2020 05:29:37 +0000 (00:29 -0500)
commit7670ac4398fb4aa727ceda29c3e75a2ff9f5acc4
treea2efe628ae1cc6f5a692554aac54488dd9fc18b4
parentcba59ca270a96d9a45e5b630d92a90317e2ffdc9
crypto: caam - fix caam_dump_sg that iterates through scatterlist

BugLink: https://bugs.launchpad.net/bugs/1863019
[ Upstream commit 8c65d35435e8cbfdf953cafe5ebe3648ee9276a2 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/crypto/caam/error.c