devlink: Annotate devlink API calls
authorLeon Romanovsky <leonro@nvidia.com>
Tue, 12 Oct 2021 13:15:23 +0000 (16:15 +0300)
committerJakub Kicinski <kuba@kernel.org>
Tue, 12 Oct 2021 23:29:17 +0000 (16:29 -0700)
commitb88f7b1203bf481af58291c28957aaab09503f43
tree8d7809392396498d9f59fe2e0dea941e0cfc1e3e
parent2bc50987dc1f467551f2ca537239016915256f6d
devlink: Annotate devlink API calls

Initial annotation patch to separate calls that needs to be executed
before or after devlink_register().

Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/core/devlink.c