summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJiri Pirko <jiri@nvidia.com>2023-01-18 16:21:15 +0100
committerJakub Kicinski <kuba@kernel.org>2023-01-19 19:08:38 -0800
commit63ba54a52c417a0c632a5f85a2b912b8a2320358 (patch)
tree98b94d83848ae35db03d954ffb62a6908df1789a /lib
parent543753d9e22e3943e2c31c4b5241afafb55dd52a (diff)
devlink: add instance lock assertion in devl_is_registered()
After region and linecard lock removals, this helper is always supposed to be called with instance lock held. So put the assertion here and remove the comment which is no longer accurate. Signed-off-by: Jiri Pirko <jiri@nvidia.com> Reviewed-by: Jacob Keller <jacob.e.keller@intel.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions