Re: [PATCH v2] crypto: tegra - do not transfer req when tegra init fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Nov 11, 2024 at 01:28:27AM +0000, Chen Ridong wrote:
> From: Chen Ridong <chenridong@xxxxxxxxxx>
> 
> 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: 0880bb3b00c8 ("crypto: tegra - Add Tegra Security Engine driver")
> Signed-off-by: Chen Ridong <chenridong@xxxxxxxxxx>
> Acked-by: Akhil R <akhilrajeev@xxxxxxxxxx>
> ---
>  drivers/crypto/tegra/tegra-se-aes.c  | 7 +++++--
>  drivers/crypto/tegra/tegra-se-hash.c | 7 +++++--
>  2 files changed, 10 insertions(+), 4 deletions(-)

Acked-by: Thierry Reding <treding@xxxxxxxxxx>

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]
  Powered by Linux