diff options
author | Dave Jiang <dave.jiang@intel.com> | 2023-05-13 00:20:06 -0700 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2023-05-13 00:20:06 -0700 |
commit | 764d102ef94e880ca834a7fe3968a00a05b1fb12 (patch) | |
tree | fd5cea574eada0b3e3c570d3069feb9b578697de /fs/isofs/joliet.c | |
parent | 270205be711056534d1f86d275d4ec922fb62102 (diff) | |
download | linux-stable-764d102ef94e880ca834a7fe3968a00a05b1fb12.tar.gz |
cxl: Add missing return to cdat read error path
Add a return to the error path when cxl_cdat_read_table() fails. Current
code continues with the table pointer points to freed memory.
Fixes: 7a877c923995 ("cxl/pci: Simplify CDAT retrieval error path")
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Reviewed-by: Davidlohr Bueso <dave@stgolabs.net>
Link: https://lore.kernel.org/r/168382793506.3510737.4792518576623749076.stgit@djiang5-mobl3
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'fs/isofs/joliet.c')
0 files changed, 0 insertions, 0 deletions