diff options
author | Madhuparna Bhowmik <[email protected]> | 2020-03-16 22:43:52 +0530 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-03-16 17:14:02 -0700 |
commit | 1963507e6233ceda2afeb4b9e8e1f17d59855959 (patch) | |
tree | 33003a57b7d5051205b000cc03970678a3b1b8c7 /drivers/usb/cdns3/cdns3-debug.h | |
parent | 10ee4b87f5f94c8e6dce4be95f5e56c445d45dbf (diff) |
net: kcm: kcmproc.c: Fix RCU list suspicious usage warning
This path fixes the suspicious RCU usage warning reported by
kernel test robot.
net/kcm/kcmproc.c:#RCU-list_traversed_in_non-reader_section
There is no need to use list_for_each_entry_rcu() in
kcm_stats_seq_show() as the list is always traversed under
knet->mutex held.
Reported-by: kernel test robot <[email protected]>
Signed-off-by: Madhuparna Bhowmik <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions