diff options
author | Dan Williams <[email protected]> | 2023-02-10 01:06:33 -0800 |
---|---|---|
committer | Dan Williams <[email protected]> | 2023-02-10 17:32:50 -0800 |
commit | 32ce3f185bbb3802cd0ac925bc8fddf1797e0ad4 (patch) | |
tree | 9b3f06385f79b252097213206bd636ece7fbd601 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 45d235c56b2bc51749af9cc8fe6ace18aa8b81be (diff) |
cxl/port: Split endpoint and switch port probe
Jonathan points out that the shared code between the switch and endpoint
case is small. Before adding another is_cxl_endpoint() conditional,
just split the two cases.
Rather than duplicate the "Couldn't enumerate decoders" error message
take the opportunity to improve the error messages in
devm_cxl_enumerate_decoders().
Reported-by: Jonathan Cameron <[email protected]>
Reviewed-by: Vishal Verma <[email protected]>
Reviewed-by: Jonathan Cameron <[email protected]>
Link: https://lore.kernel.org/r/167601999378.1924368.15071142145866277623.stgit@dwillia2-xfh.jf.intel.com
Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions