]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd95a281512ac4698e77ecd2fa54c8dc8f3d2aa32
tree365eee09fa7b902ac8db2ed7ad28f56034821b22
parent5509d30978a1e5d23a2431fd29bd91b1109157fc
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