linux-stable/net/devlink
Jiri Pirko 63ba54a52c 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>
2023-01-19 19:08:38 -08:00
..
core.c devlink: remove reporters_lock 2023-01-19 19:08:37 -08:00
devl_internal.h devlink: add instance lock assertion in devl_is_registered() 2023-01-19 19:08:38 -08:00
leftover.c devlink: convert reporters dump to devlink_nl_instance_iter_dump() 2023-01-19 19:08:38 -08:00
Makefile devlink: split out netlink code 2023-01-05 22:13:39 -08:00
netlink.c devlink: remove devlink_dump_for_each_instance_get() helper 2023-01-19 19:08:38 -08:00