
15 Jul
2023
15 Jul
'23
5:03 p.m.
On Mon, Jun 12, 2023 at 10:59:10PM +0300, Sergei Antonov wrote:
memalign() returns a pointer which is to be freed by free(). To call unmap_sysmem() is incorrect, furthermore it was called in a wrong scope.
Also add a check for allocation error.
Fixes: d7af2baa49c6 ("crypto/fsl: Fix HW accelerated hash commands") Cc: Breno Lima breno.lima@nxp.com Signed-off-by: Sergei Antonov saproj@gmail.com Reviewed-by: Simon Glass sjg@chromium.org
Applied to u-boot/master, thanks!
--
Tom