diff options
author | Huy Nguyen <huyn@mellanox.com> | 2016-11-04 01:48:47 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-11-04 14:59:37 -0400 |
commit | 0e97a34083a03c931d4e9b34ba7899c29a09dce6 (patch) | |
tree | 5f07278b04cbbbe05dec0da422a187d21e17fb2e /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | ee39fbc4447d5c42640963b559bf68490cb45308 (diff) |
net/mlx5: Fix invalid pointer reference when prof_sel parameter is invalid
When prof_sel is invalid, mlx5_core_warn is called but the
mlx5_core_dev is not initialized yet. Solution is moving the prof_sel code
after dev->pdev assignment
Fixes: 2974ab6e8bd8 ('net/mlx5: Improve driver log messages')
Signed-off-by: Huy Nguyen <huyn@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions