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 /drivers/net/ethernet/intel/ice/ice_flex_pipe.c | |
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>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_flex_pipe.c')
0 files changed, 0 insertions, 0 deletions