On Tue, Apr 01, 2025 at 10:23:16PM +0300, Ovidiu Panait wrote: > Rework error handling in sun8i_ce_hash_run() to unmap the dma buffers in > case of failure. Currently, the dma unmap functions are not called if the > function errors out at various points. > > Fixes: 56f6d5aee88d1 ("crypto: sun8i-ce - support hash algorithms") > Signed-off-by: Ovidiu Panait <ovidiu.panait.oss@xxxxxxxxx> > --- > .../crypto/allwinner/sun8i-ce/sun8i-ce-hash.c | 34 ++++++++++++------- > 1 file changed, 21 insertions(+), 13 deletions(-) All applied. Thanks. -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt