hw/cxl: CDAT file handling fixes.
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | hw/cxl: cdat: Fix open file not closed in ct3_load_cdat()hw/ | +8 | 1 reply | |
| 2/2 | hw/cxl: cdat: Fix failure to free buffer in erorr pathshw/ hw/ hw/ | +25 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Fan Ni |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] hw/cxl: CDAT file handling fixes.
I've picked up Hao Zeng's v5 and added a patch to deal with the issues that Peter pointed out in this area.
On error, the CDAT file handling left resource dangling and didn't cleanly exit from calling functions. Hao Zeng dealt with closing the file. The second patch deals with the buffer allocation and ensuring a clean exit at the two callers.
Hao Zeng (1):
hw/cxl: cdat: Fix open file not closed in ct3_load_cdat()
Jonathan Cameron (1):
hw/cxl: cdat: Fix failure to free buffer in erorr paths
hw/cxl/cxl-cdat.c | 60 +++++++++++++++--------------------- hw/mem/cxl_type3.c | 4 +++ hw/pci-bridge/cxl_upstream.c | 3 ++ 3 files changed, 32 insertions(+), 35 deletions(-)
Signature · 1 line
2.37.2