OSDN Git Service

devlink: Remove not-executed trap group notifications
authorLeon Romanovsky <leonro@nvidia.com>
Thu, 21 Oct 2021 14:16:15 +0000 (17:16 +0300)
committerJakub Kicinski <kuba@kernel.org>
Fri, 22 Oct 2021 23:15:41 +0000 (16:15 -0700)
commit8bbeed4858239ac956a78e5cbaf778bd6f3baef8
treef82be91297b66e0b287c86dbb5cd45135ceb215e
parent22849b5ea5952d853547cc5e0651f34a246b2a4f
devlink: Remove not-executed trap group notifications

The trap logic is registered before devlink_register() and all the
notifications are delayed. This patch removes not-possible trap group
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