[PATCH v2 0/2] cxl/cdat: Fixes for CXL CDAT processing

From: Ira Weiny
Date: Wed Nov 29 2023 - 20:33:08 EST


These are a couple of fixes needed for DCD processing. The first is via
code inspection and the second was found as a result of the kernel bug
found previously.[1]

[1] https://lore.kernel.org/all/20231116-fix-cdat-devm-free-v1-1-b148b40707d7@xxxxxxxxx/

Signed-off-by: Ira Weiny <ira.weiny@xxxxxxxxx>
---
Changes in v2:
- [iweiny: add fixes tags]
- [djiang: remove do {} while (0);]
- Link to v1: https://lore.kernel.org/r/20231117-fix-cdat-cs-v1-0-ffc2b116ca6c@xxxxxxxxx

---
Ira Weiny (2):
cxl/cdat: Handle cdat table build errors
cxl/cdat: Fix header sum value in CDAT checksum

hw/cxl/cxl-cdat.c | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
---
base-commit: abe893944bb3fb3ca59aaeaa8d48e52dfdc0f3db
change-id: 20231117-fix-cdat-cs-a8ed72ec2244

Best regards,
--
Ira Weiny <ira.weiny@xxxxxxxxx>