diff options
author | Dan Williams <[email protected]> | 2023-02-10 01:06:09 -0800 |
---|---|---|
committer | Dan Williams <[email protected]> | 2023-02-10 17:32:21 -0800 |
commit | 86987c766276acf1289700cd38bd6d5b5a167fea (patch) | |
tree | 83392d650a7278e527090ea6e049fa40b8fac1f2 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 3528b1e101a40ff75c8130e0b94e9555d2976f45 (diff) |
cxl/region: Cleanup target list on attach error
Jonathan noticed that the target list setup is not unwound completely
upon error. Undo all the setup in the 'err_decrement:' exit path.
Fixes: 27b3f8d13830 ("cxl/region: Program target lists")
Reported-by: Jonathan Cameron <[email protected]>
Link: http://lore.kernel.org/r/[email protected]
Reviewed-by: Ira Weiny <[email protected]>
Reviewed-by: Vishal Verma <[email protected]>
Reviewed-by: Jonathan Cameron <[email protected]>
Link: https://lore.kernel.org/r/167601996980.1924368.390423634911157277.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