Subject: [PATCH net-next v2 0/2] mlx4: avoid devlink port type not set warnings

From: Jakub Kicinski <[email-masked]>
Date: Tue, 8 Sep 2020 15:21:12 -0700

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