summaryrefslogtreecommitdiff
path: root/Documentation/power/userland-swsusp.rst
diff options
context:
space:
mode:
authorMadhuparna Bhowmik <madhuparnabhowmik10@gmail.com>2020-03-03 22:42:09 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2020-03-04 13:05:59 +0300
commit2591e7b17c0d3f1472f9ddb2dd5922f24fc5e4d9 (patch)
tree5c4aec5561098f3a4ea69c5264fcc62aabcecdea /Documentation/power/userland-swsusp.rst
parent42beb82ec4dc99a425e0fded34f7aa5276a709ab (diff)
downloadlinux-2591e7b17c0d3f1472f9ddb2dd5922f24fc5e4d9.tar.xz
PM: sleep: wakeup: Use built-in RCU list checking
Pass cond argument to list_for_each_entry_rcu() to fix the following false positive lockdep warning and other uses of list_for_each_entry_rcu() in wakeup.c. (CONFIG_PROVE_RCU_LIST = y) [ 331.934648] ============================= [ 331.934650] WARNING: suspicious RCU usage [ 331.934653] 5.6.0-rc1+ #5 Not tainted [ 331.934655] ----------------------------- [ 331.934657] drivers/base/power/wakeup.c:408 RCU-list traversed in non-reader section!! [ 333.025156] ============================= [ 333.025161] WARNING: suspicious RCU usage [ 333.025168] 5.6.0-rc1+ #5 Not tainted [ 333.025173] ----------------------------- [ 333.025180] drivers/base/power/wakeup.c:424 RCU-list traversed in non-reader section!! Signed-off-by: Madhuparna Bhowmik <madhuparnabhowmik10@gmail.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'Documentation/power/userland-swsusp.rst')
0 files changed, 0 insertions, 0 deletions