summaryrefslogtreecommitdiffstats
path: root/Kconfig
diff options
context:
space:
mode:
authorAmol Grover <frextrite@gmail.com>2020-01-17 18:55:22 +0530
committerCorey Minyard <cminyard@mvista.com>2020-03-12 14:56:00 -0500
commit4f1885a7b347a905cd9ed7deb6472a9688637432 (patch)
treebf8f13d3f1bfce9b896753a737c907ba481ebb0f /Kconfig
parent3cc6e2c599cdca573a8f347aea5da4c855ff5a78 (diff)
downloadlinux-4f1885a7b347a905cd9ed7deb6472a9688637432.tar.bz2
drivers: char: ipmi: ipmi_msghandler: Pass lockdep expression to RCU lists
intf->cmd_rcvrs is traversed with list_for_each_entry_rcu outside an RCU read-side critical section but under the protection of intf->cmd_rcvrs_mutex. ipmi_interfaces is traversed using list_for_each_entry_rcu outside an RCU read-side critical section but under the protection of ipmi_interfaces_mutex. Hence, add the corresponding lockdep expression to the list traversal primitive to silence false-positive lockdep warnings, and harden RCU lists. Add macro for the corresponding lockdep expression to make the code clean and concise. Signed-off-by: Amol Grover <frextrite@gmail.com> Message-Id: <20200117132521.31020-1-frextrite@gmail.com> Acked-by: Paul E. McKenney <paulmck@kernel.org> Tested-by: John Garry <john.garry@huawei.com> Signed-off-by: Corey Minyard <cminyard@mvista.com>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions