diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2021-02-10 10:45:27 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2021-03-07 07:13:15 +0300 |
commit | 2eee428d8212265af09d349b74746be03513382e (patch) | |
tree | db6e9423d18e19722f4a6a0e581849bd28512c5b /net | |
parent | 662c1c5618aaf71f99ada3105b99668a503605ae (diff) | |
download | linux-2eee428d8212265af09d349b74746be03513382e.tar.xz |
crypto: keembay-ocs-aes - Fix error return code in kmb_ocs_aes_probe()
Fix to return negative error code -ENOMEM from the error handling
case instead of 0, as done elsewhere in this function.
Fixes: 885743324513 ("crypto: keembay - Add support for Keem Bay OCS AES/SM4")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Reviewed-by: Daniele Alessandrelli <daniele.alessandrelli@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions