diff options
author | Chen Ridong <chenridong@huawei.com> | 2024-11-04 12:17:45 +0000 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2024-11-15 19:52:51 +0800 |
commit | 19630cf57233e845b6ac57c9c969a4888925467b (patch) | |
tree | 6a9d280df33c532a764105590e961a17f2252746 /fs/hostfs | |
parent | b64140c74e954f1db6eae5548ca3a1f41b6fad79 (diff) |
crypto: bcm - add error check in the ahash_hmac_init function
The ahash_init functions may return fails. The ahash_hmac_init should
not return ok when ahash_init returns error. For an example, ahash_init
will return -ENOMEM when allocation memory is error.
Fixes: 9d12ba86f818 ("crypto: brcm - Add Broadcom SPU driver")
Signed-off-by: Chen Ridong <chenridong@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'fs/hostfs')
0 files changed, 0 insertions, 0 deletions