]> Git Repo - linux.git/commit
crypto: keembay-ocs-hcu - Fix error return code in kmb_ocs_hcu_probe()
authorWei Yongjun <[email protected]>
Wed, 10 Feb 2021 07:43:50 +0000 (07:43 +0000)
committerHerbert Xu <[email protected]>
Sun, 7 Mar 2021 04:13:15 +0000 (15:13 +1100)
commit662c1c5618aaf71f99ada3105b99668a503605ae
treebbd26beb24ea7a000adc59c6aa07faa31cf5090f
parent4ab6093ba4b1a29da192da666a73d74f54fde649
crypto: keembay-ocs-hcu - Fix error return code in kmb_ocs_hcu_probe()

Fix to return negative error code -ENOMEM from the error handling
case instead of 0, as done elsewhere in this function.

Fixes: 472b04444cd3 ("crypto: keembay - Add Keem Bay OCS HCU driver")
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-hcu-core.c
This page took 0.045347 seconds and 4 git commands to generate.