mirror of
https://github.com/torvalds/linux.git
synced 2026-12-03 20:06:35 +00:00
The tegra_cmac_init or tegra_sha_init function may return an error when
memory is exhausted. It should not transfer the request when they return
an error.
Fixes: 0880bb3b00 ("crypto: tegra - Add Tegra Security Engine driver")
Signed-off-by: Chen Ridong <[email protected]>
Acked-by: Akhil R <[email protected]>
Acked-by: Thierry Reding <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>