aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/ti
diff options
context:
space:
mode:
authorMadhuparna Bhowmik <madhuparnabhowmik10@gmail.com>2020-02-25 17:57:45 +0530
committerDavid S. Miller <davem@davemloft.net>2020-02-26 16:59:18 -0800
commit2eb51c75dcb354f8aef03d7648318b24630632e1 (patch)
treea8215309b5994be1239a270d11da6459b2d4b302 /drivers/net/ethernet/ti
parentnet: dsa: bcm_sf2: Forcibly configure IMP port for 1Gb/sec (diff)
downloadlinux-dev-2eb51c75dcb354f8aef03d7648318b24630632e1.tar.xz
linux-dev-2eb51c75dcb354f8aef03d7648318b24630632e1.zip
net: core: devlink.c: Use built-in RCU list checking
list_for_each_entry_rcu() has built-in RCU and lock checking. Pass cond argument to list_for_each_entry_rcu() to silence false lockdep warning when CONFIG_PROVE_RCU_LIST is enabled. The devlink->lock is held when devlink_dpipe_table_find() is called in non RCU read side section. Therefore, pass struct devlink to devlink_dpipe_table_find() for lockdep checking. Signed-off-by: Madhuparna Bhowmik <madhuparnabhowmik10@gmail.com> Reviewed-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ti')
0 files changed, 0 insertions, 0 deletions