]> git.baikalelectronics.ru Git - kernel.git/commit
ibmvnic: register netdev after init of adapter
authorSukadev Bhattiprolu <sukadev@linux.ibm.com>
Fri, 25 Feb 2022 06:23:55 +0000 (22:23 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 25 Feb 2022 10:57:47 +0000 (10:57 +0000)
commit570425f8c7c18b14fa8a2a58a0adb431968ad118
treeea7e06bdf8289a4be4eb931448859b0bfa09dd9f
parent36491f2df9ad2501e5a4ec25d3d95d72bafd2781
ibmvnic: register netdev after init of adapter

Finish initializing the adapter before registering netdev so state
is consistent.

Fixes: c26eba03e407 ("ibmvnic: Update reset infrastructure to support tunable parameters")
Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/ibmvnic.c