summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorShay Drory <shayd@mellanox.com>2020-05-06 14:52:04 +0300
committerSaeed Mahameed <saeedm@mellanox.com>2020-05-23 03:28:58 +0300
commit4f7400d5cbaef676e00cdffb0565bf731c6bb09e (patch)
treeed5d29c9ed8eac34652aa96e5097ea5d5daf621a /tools/perf/scripts/python/check-perf-trace.py
parentd37bd5e81ed0d58f0ebe2e01658c26722e0c033e (diff)
downloadlinux-4f7400d5cbaef676e00cdffb0565bf731c6bb09e.tar.xz
net/mlx5: Fix error flow in case of function_setup failure
Currently, if an error occurred during mlx5_function_setup(), we keep dev->state as DEVICE_STATE_UP. Fixing it by adding a goto label. Fixes: e161105e58da ("net/mlx5: Function setup/teardown procedures") Signed-off-by: Shay Drory <shayd@mellanox.com> Reviewed-by: Moshe Shemesh <moshe@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions