diff options
author | Jiri Pirko <jiri@nvidia.com> | 2022-08-25 14:29:23 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-08-27 03:14:15 +0300 |
commit | 6005a8aecee8afeba826295321a612ab485c230e (patch) | |
tree | 33bee99ef7d0a8cde76e8d689e11bcfe60956ac4 /drivers/cpufreq/ppc_cbe_cpufreq.c | |
parent | de9d555cb8d4286a951b5b9bc824a12c739693ec (diff) | |
download | linux-6005a8aecee8afeba826295321a612ab485c230e.tar.xz |
net: devlink: add RNLT lock assertion to devlink_compat_switch_id_get()
Similar to devlink_compat_phys_port_name_get(), make sure that
devlink_compat_switch_id_get() is called with RTNL lock held. Comment
already says so, so put this in code as well.
Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Link: https://lore.kernel.org/r/20220825112923.1359194-1-jiri@resnulli.us
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/cpufreq/ppc_cbe_cpufreq.c')
0 files changed, 0 insertions, 0 deletions