crypto: sun8i-ss - test error before assigning
authorCorentin Labbe <clabbe@baylibre.com>
Mon, 2 May 2022 20:19:17 +0000 (20:19 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 13 May 2022 09:24:18 +0000 (17:24 +0800)
commitd86e3f37a6d05d4946788904b8968eb6287601ae
tree365eee09fa7b902ac8db2ed7ad28f56034821b22
parent46e2fcbcbed6b37228bad4a9397e7d60555b8c44
crypto: sun8i-ss - test error before assigning

The first thing we should do after dma_map_single() is to test the
result.

Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/allwinner/sun8i-ss/sun8i-ss-hash.c