aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/proc.py
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2021-06-14 07:53:10 +0200
committerBjorn Helgaas <[email protected]>2021-06-16 16:09:41 -0500
commitd1b8dc09dd71248f5098792af98caa497ec66d19 (patch)
tree415d7377199fb6d6f208e33e513303381905fcb1 /scripts/gdb/linux/proc.py
parent3ec0c3ec2d92c09465534a1ff9c6f9d9506ffef6 (diff)
PCI/P2PDMA: Simplify distance calculation
Merge __calc_map_type_and_dist() and calc_map_type_and_dist_warn() into calc_map_type_and_dist() to simplify the code a bit. This now means we add the devfn strings to the acs_buf unconditionally even if the buffer is not printed, but that is not a lot of overhead and keeps the code much simpler. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Reviewed-by: Logan Gunthorpe <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions