]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9257f69273748635d5cb269ffac59d36db37bcde
treed8ecaca61fcb7c081c348c6f7e100f9e24f20d80
parent73dfe93ea1b319482e6d82a54fe06f953ceeeccb
parent1fd7c08286cec1805427ed0569ca08e24ade6702
Merge branch 'devlink-fix-order-of-port-and-netdev-register-in-drivers'

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>