devlink: Clean not-executed param notifications
authorLeon Romanovsky <leonro@nvidia.com>
Thu, 21 Oct 2021 14:16:16 +0000 (17:16 +0300)
committerJakub Kicinski <kuba@kernel.org>
Fri, 22 Oct 2021 23:15:42 +0000 (16:15 -0700)
commit7a690ad499e723a1e944c53cb02ad8362da8038c
treef963ab492ddd29a47f076a0d496a85ee99800675
parent8bbeed4858239ac956a78e5cbaf778bd6f3baef8
devlink: Clean not-executed param notifications

The parameters are registered before devlink_register() and all the
notifications are delayed. This patch removes not-possible parameters
notifications along with addition of code annotation logic.

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