netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/2] mlx4: avoid devlink port type not set warnings
@ 2020-09-08 22:21 Jakub Kicinski
  2020-09-08 22:21 ` [PATCH net-next v2 1/2] devlink: don't crash if netdev is NULL Jakub Kicinski
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Jakub Kicinski @ 2020-09-08 22:21 UTC (permalink / raw)
  To: davem
  Cc: netdev, kernel-team, tariqt, ogerlitz, yishaih, saeedm, leonro,
	Jakub Kicinski

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-09-10 19:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-08 22:21 [PATCH net-next v2 0/2] mlx4: avoid devlink port type not set warnings Jakub Kicinski
2020-09-08 22:21 ` [PATCH net-next v2 1/2] devlink: don't crash if netdev is NULL Jakub Kicinski
2020-09-08 22:21 ` [PATCH net-next v2 2/2] mlx4: make sure to always set the port type Jakub Kicinski
2020-09-09  7:21   ` Tariq Toukan
2020-09-10 19:49 ` [PATCH net-next v2 0/2] mlx4: avoid devlink port type not set warnings David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).