diff options
author | 2020-05-08 02:15:19 +0000 | |
---|---|---|
committer | 2020-05-08 22:22:13 -0700 | |
commit | 9302bead664f49ef73040fa06fa64552d02fee42 (patch) | |
tree | 2fa5cb2705bf5fd7949966acda9f6b880c70f4c5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | umh: fix memory leak on execve failure (diff) | |
download | linux-rng-9302bead664f49ef73040fa06fa64552d02fee42.tar.xz linux-rng-9302bead664f49ef73040fa06fa64552d02fee42.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions