aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorBen Widawsky <[email protected]>2021-10-13 16:53:29 -0700
committerDan Williams <[email protected]>2021-10-29 11:53:51 -0700
commit7dc7a64de2bb3daf613f4c2e809e49678c579148 (patch)
tree3739a399212828754ce44f680043a47916d32587 /scripts/gdb/linux/utils.py
parent84e36a9d1bbd2c41481e7160e0553480781b008b (diff)
cxl/pci: Make more use of cxl_register_map
The structure exists to pass around information about register mapping. Use it for passing @barno and @block_offset, and eliminate duplicate local variables. The helpers that use @map do not care about @cxlm, so just pass them a pdev instead. [djbw: reorder before cxl_pci_setup_regs() refactor to improver readability] Signed-off-by: Ben Widawsky <[email protected]> Reported-by: kernel test robot <[email protected]> Reviewed-by: Ira Weiny <[email protected]> [djbw: separate @base conversion] Link: https://lore.kernel.org/r/163416901172.806743.10056306321247850914.stgit@dwillia2-desk3.amr.corp.intel.com Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions