[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200908222114.190718-1-kuba@kernel.org>
Date: Tue, 8 Sep 2020 15:21:12 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: davem@...emloft.net
Cc: netdev@...r.kernel.org, kernel-team@...com, tariqt@...lanox.com,
ogerlitz@...lanox.com, yishaih@...lanox.com, saeedm@...lanox.com,
leonro@...dia.com, Jakub Kicinski <kuba@...nel.org>
Subject: [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(-)
--
2.26.2
Powered by blists - more mailing lists