mbox series

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

Message ID 20200908222114.190718-1-kuba@kernel.org
Headers show
Series mlx4: avoid devlink port type not set warnings | expand

Message

Jakub Kicinski Sept. 8, 2020, 10:21 p.m. UTC
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(-)

Comments

David Miller Sept. 10, 2020, 7:49 p.m. UTC | #1
From: Jakub Kicinski <kuba@kernel.org>
Date: Tue,  8 Sep 2020 15:21:12 -0700

> 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

Series applied, thank you.