commit | 654cad8b6a17dcb00077070b27bc65873951a568 | [log] [tgz] |
---|---|---|
author | Wei Yongjun <weiyongjun1@huawei.com> | Mon Apr 27 12:11:10 2020 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Apr 30 20:28:34 2020 -0700 |
tree | 9f2587d9b18eae1ba65c6bd48a21adfc5bfb629a | |
parent | 7ae9a4f483eccfd46f40ede8d2bd28fd2f7a9c5f [diff] |
octeontx2-pf: Fix error return code in otx2_probe() Fix to return negative error code -ENOMEM from the error handling case instead of 0, as done elsewhere in this function. Fixes: 5a6d7c9daef3 ("octeontx2-pf: Mailbox communication with AF") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>