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(-) Patch 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