diff options
| author | Wei Yongjun <weiyongjun1@huawei.com> | 2020-05-08 02:15:19 +0000 | 
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2020-05-08 22:22:13 -0700 | 
| commit | 9302bead664f49ef73040fa06fa64552d02fee42 (patch) | |
| tree | 2fa5cb2705bf5fd7949966acda9f6b880c70f4c5 /lib/test-string_helpers.c | |
| parent | db803036ada7d61d096783726f9771b3fc540370 (diff) | |
octeontx2-vf: Fix error return code in otx2vf_probe()
Fix to return negative error code -ENOMEM from the alloc failed error
handling case instead of 0, as done elsewhere in this function.
Fixes: 3184fb5ba96e ("octeontx2-vf: Virtual function driver support")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions
