diff options
author | Eran Ben Elisha <eranbe@mellanox.com> | 2019-02-20 12:33:01 +0200 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2019-02-22 13:38:24 -0800 |
commit | 2e5b0534622fa87fd570d54af2d01ce304b88077 (patch) | |
tree | 47159e58bc89c534a5cfe72f55df29b553f8521d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | c7981bea48fbbbf17215038c3d7c48706dafd6ff (diff) |
net/mlx5e: Fix mlx5e_tx_reporter_create return value
If reporter is ERR_PTR or NULL, error code shall be returned. At all other
cases it shall return success. Fix that.
Fixes: de8650a82071 ("net/mlx5e: Add tx reporter support")
Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions