]> Git Repo - linux.git/commit
crypto: keembay-ocs-aes - Fix error return code in kmb_ocs_aes_probe()
authorWei Yongjun <[email protected]>
Wed, 10 Feb 2021 07:45:27 +0000 (07:45 +0000)
committerHerbert Xu <[email protected]>
Sun, 7 Mar 2021 04:13:15 +0000 (15:13 +1100)
commit2eee428d8212265af09d349b74746be03513382e
treedb6e9423d18e19722f4a6a0e581849bd28512c5b
parent662c1c5618aaf71f99ada3105b99668a503605ae
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 <[email protected]>
Signed-off-by: Wei Yongjun <[email protected]>
Reviewed-by: Daniele Alessandrelli <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
drivers/crypto/keembay/keembay-ocs-aes-core.c
This page took 0.050811 seconds and 4 git commands to generate.