diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2020-06-18 17:19:53 +0300 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2020-07-02 00:18:54 +0300 |
commit | 753f3884f253de6b6d3a516e6651bda0baf4aede (patch) | |
tree | 0cc3908fdce17650b2a3f6fda991ac7c303437ce /tools/perf/scripts/python/export-to-postgresql.py | |
parent | d5ec9e2ce41ac198de2ee18e0e529b7ebbc67408 (diff) | |
download | linux-753f3884f253de6b6d3a516e6651bda0baf4aede.tar.xz |
iavf: fix error return code in iavf_init_get_resources()
Fix to return negative error code -ENOMEM from the error handling
case instead of 0, as done elsewhere in this function.
Fixes: b66c7bc1cd4d ("iavf: Refactor init state machine")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions