]> www.infradead.org Git - users/jedix/linux-maple.git/commit
crypto: ccp - Update the command queue on errors
authorGary R Hook <gary.hook@amd.com>
Thu, 9 Feb 2017 21:49:57 +0000 (15:49 -0600)
committerSomasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
Thu, 24 Aug 2017 17:56:24 +0000 (10:56 -0700)
commit78bc6be21c83f30199a1317678c258eeaa7215a7
tree36e513e7813d6ff2217310d170d7b1f970ec228a
parent437aec4be319719c8ec1c0e9aabdbf4c08f1b689
crypto: ccp - Update the command queue on errors

Orabug: 26644685

Move the command queue tail pointer when an error is
detected. Always return the error.

Signed-off-by: Gary R Hook <gary.hook@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
(cherry picked from commit 4cdf101ef444e47bc8869ef3e90396e828fd9b61)
Signed-off-by: Somasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
Reviewed-by: Jack Vogel <jack.vogel@oracle.com>
drivers/crypto/ccp/ccp-dev-v5.c