linux_dsm_epyc7002/drivers/net/ethernet/mellanox
Huy Nguyen 0e97a34083 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: 2974ab6e8b ('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>
2016-11-04 14:59:37 -04:00
..
mlx4 net/mlx4_en: Save slave ethtool stats command 2016-10-29 16:23:48 -04:00
mlx5/core net/mlx5: Fix invalid pointer reference when prof_sel parameter is invalid 2016-11-04 14:59:37 -04:00
mlxsw mlxsw: spectrum: Fix incorrect reuse of MID entries 2016-10-31 15:34:43 -04:00
Kconfig mlxsw: Introduce Mellanox switch driver core 2015-07-30 00:04:59 -07:00
Makefile mlxsw: Introduce Mellanox switch driver core 2015-07-30 00:04:59 -07:00