aboutsummaryrefslogtreecommitdiff
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorLi Zhijian <[email protected]>2024-05-07 13:34:21 +0800
committerDave Jiang <[email protected]>2024-05-28 16:09:17 -0700
commit49ba7b515c4c0719b866d16f068e62d16a8a3dd1 (patch)
treee46d6f4cc5dd59c4d2c5aa266368d28dbf2171cc /lib/debugobjects.c
parentd55510527153d17a3af8cc2df69c04f95ae1350d (diff)
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 <[email protected]> Reviewed-by: Dan Williams <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dave Jiang <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions