Hi!

This small set addresses the issue of mlx4 potentially not setting
devlink port type when Ethernet or IB driver is not built, but
port has that type.

v2:
 - add patch 1

Jakub Kicinski (2):
  devlink: don't crash if netdev is NULL
  mlx4: make sure to always set the port type

 drivers/net/ethernet/mellanox/mlx4/main.c | 11 +++++++++
 net/core/devlink.c                        | 28 ++++++++++++++++-------
 2 files changed, 31 insertions(+), 8 deletions(-)

-- 
2.26.2

Reply via email to