diff options
| author | Wei Yongjun <weiyongjun1@huawei.com> | 2020-04-27 12:11:10 +0000 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2020-04-30 20:28:34 -0700 |
| commit | 654cad8b6a17dcb00077070b27bc65873951a568 (patch) | |
| tree | 9f2587d9b18eae1ba65c6bd48a21adfc5bfb629a /tools/perf/scripts/python | |
| parent | dpaa_eth: Fix comparing pointer to 0 (diff) | |
| download | linux-654cad8b6a17dcb00077070b27bc65873951a568.tar.gz linux-654cad8b6a17dcb00077070b27bc65873951a568.zip | |
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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
