summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorLi Zhijian <lizhijian@fujitsu.com>2024-05-07 08:34:21 +0300
committerDave Jiang <dave.jiang@intel.com>2024-05-29 02:09:17 +0300
commit49ba7b515c4c0719b866d16f068e62d16a8a3dd1 (patch)
treee46d6f4cc5dd59c4d2c5aa266368d28dbf2171cc /tools/perf/scripts/python/export-to-postgresql.py
parentd55510527153d17a3af8cc2df69c04f95ae1350d (diff)
downloadlinux-49ba7b515c4c0719b866d16f068e62d16a8a3dd1.tar.xz
cxl/region: Fix memregion leaks in devm_cxl_add_region()
Move the mode verification to __create_region() before allocating the memregion to avoid the memregion leaks. Fixes: 6e099264185d ("cxl/region: Add volatile region creation support") Signed-off-by: Li Zhijian <lizhijian@fujitsu.com> Reviewed-by: Dan Williams <dan.j.williams@intel.com> Link: https://lore.kernel.org/r/20240507053421.456439-1-lizhijian@fujitsu.com Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions