aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorLogan Gunthorpe <[email protected]>2023-02-09 10:29:53 -0700
committerBjorn Helgaas <[email protected]>2023-02-16 16:31:12 -0600
commit6606f4c3c48c7a75b13816266d3ea562eeec0b44 (patch)
tree28f9cd67b7e5029d3e5edf1d8907a965b365491a /tools/perf/scripts/python/export-to-sqlite.py
parent1b929c02afd37871d5afb9d498426f83432e71c2 (diff)
PCI/P2PDMA: Annotate RCU dereference
A dereference of the __rcu pointer was noticed by sparse: drivers/pci/p2pdma.c:199:44: sparse: sparse: dereference of noderef expression Dereference the __rcu pointer using rcu_dereference_protected() instead of accessing it directly. It's safe to use rcu_dereference_protected() because a reference is held on the pgmap's percpu reference counter and thus it cannot disappear. Link: https://lore.kernel.org/r/[email protected] Reported-by: kernel test robot <[email protected]> Signed-off-by: Logan Gunthorpe <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Reviewed-by: Chaitanya Kulkarni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions