diff options
author | Dave Jiang <dave.jiang@intel.com> | 2024-01-05 15:07:59 -0700 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2024-01-05 14:36:29 -0800 |
commit | 321dd36c286b3f982b341ce9a273b0f66f0e00ed (patch) | |
tree | 3f560e8953b36637e307ad59768bb9a6d773f67b /scripts/gdb/linux/tasks.py | |
parent | 66f11890d35a609012037cccfd9e63ed98474f99 (diff) | |
download | linux-321dd36c286b3f982b341ce9a273b0f66f0e00ed.tar.gz linux-321dd36c286b3f982b341ce9a273b0f66f0e00ed.tar.bz2 linux-321dd36c286b3f982b341ce9a273b0f66f0e00ed.zip |
cxl: Refactor to use __free() for cxl_root allocation in cxl_endpoint_port_probe()
Use scope-based resource management __free() macro to drop the open coded
put_device() in cxl_endpoint_port_probe().
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/170449247973.3779673.15088722836135359275.stgit@djiang5-mobl3
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions