Skip to content

mlx4: avoid devlink port type not set warnings

Jakub Kicinski netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 2 repliesIn review

Changes in v2 from the cover letter

- add patch 1

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2devlink: don't crash if netdev is NULLnet/core/devlink.c+20 -80 replies
2/2mlx4: make sure to always set the port typedrivers/net/ethernet/mellanox/mlx4/main.c+11 -01 reply

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchTariq Toukan
1/2
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

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

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(-)
Signature · 1 line
2.26.2