]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: inside-secure - use the error handler for invalidation requests
authorAntoine Tenart <antoine.tenart@bootlin.com>
Tue, 29 May 2018 12:13:43 +0000 (14:13 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 22 Jun 2018 15:03:00 +0000 (23:03 +0800)
commitd02e79333e0641b7e53876d6c0592487df163b6f
treec96d6fd94be45c9d4478d3aa1cbc4a653d6e5194
parentc2f07d442a4aaaaf1cdafc557f9091188f907102
crypto: inside-secure - use the error handler for invalidation requests

This patch reworks the way invalidation request handlers handle the
result descriptor errors, to use the common error handling function.
This improves the drivers in terms of readability and maintainability.

Suggested-by: Ofer Heifetz <oferh@marvell.com>
Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/inside-secure/safexcel_cipher.c
drivers/crypto/inside-secure/safexcel_hash.c