]> git.baikalelectronics.ru Git - kernel.git/commitdiff
Merge branch 'devlink-fix-order-of-port-and-netdev-register-in-drivers'
authorJakub Kicinski <kuba@kernel.org>
Tue, 27 Sep 2022 14:54:48 +0000 (07:54 -0700)
committerJakub Kicinski <kuba@kernel.org>
Tue, 27 Sep 2022 14:54:48 +0000 (07:54 -0700)
Jiri Pirko says:

====================
devlink: fix order of port and netdev register in drivers

Some of the drivers use wrong order in registering devlink port and
netdev, registering netdev first. That was not intended as the devlink
port is some sort of parent for the netdev. Fix the ordering.

Note that the follow-up patchset is going to make this ordering
mandatory.
====================

Link: https://lore.kernel.org/r/20220926110938.2800005-1-jiri@resnulli.us
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Trivial merge