Merge branch 'mlxsw-misc-devlink-changes'
authorJakub Kicinski <kuba@kernel.org>
Wed, 8 Feb 2023 04:18:51 +0000 (20:18 -0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 8 Feb 2023 04:18:52 +0000 (20:18 -0800)
Petr Machata says:

====================
mlxsw: Misc devlink changes

This patchset adjusts mlxsw to recent devlink changes in net-next.

Patch #1 removes a devl_param_driverinit_value_set() call that was
unnecessary, but now additionally triggers a WARN_ON.

Patches #2-#4 are non-functional preparations for the following patches.

Patch #5 fixes a use-after-free that is triggered while changing network
namespaces.

Patch #6 makes mlxsw consistent with netdevsim by having mlxsw register
its devlink instance before its sub-objects. It helps us avoid a warning
described in the commit message.
====================

Link: https://lore.kernel.org/r/cover.1675692666.git.petrm@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Trivial merge