cxl: Fix issues with g_steal_pointer()
Status from this message: Picked up for qemu-trivial, thank you!
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | hw/cxl/cxl-cdat: Fix type of buf in ct3_load_cdat()hw/ | +2 | 1 reply | |
| 2/3 | hw/pci-bridge/cxl_upstream: Fix problem with g_steal_pointer()hw/ include/ | +9 | 2 replies | |
| 3/3 | hw/mem/cxl_type3: Fix problem with g_steal_pointer()hw/ include/ | +18 | 3 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Jonathan Cameron |
|---|---|
| 1/3 | R-b |
| 2/3 | R-b |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] cxl: Fix issues with g_steal_pointer()
When setting GLIB_VERSION_MAX_ALLOWED to GLIB_VERSION_2_58 or higher (which we'll certainly do in the not too distant future), glib adds type safety checks to the g_steal_pointer() macro. This triggers errors in the cxl code since the pointer types do not always match here. Let's fix those errors now so we can switch to a newer version of the glib in a future version of QEMU.
Thomas Huth (3):
hw/cxl/cxl-cdat: Fix type of buf in ct3_load_cdat() hw/pci-bridge/cxl_upstream: Fix problem with g_steal_pointer() hw/mem/cxl_type3: Fix problem with g_steal_pointer()
include/hw/cxl/cxl_cdat.h | 17 +++++++++++------ hw/cxl/cxl-cdat.c | 4 ++-- hw/mem/cxl_type3.c | 24 ++++++++++++------------ hw/pci-bridge/cxl_upstream.c | 8 ++++---- 4 files changed, 29 insertions(+), 24 deletions(-)
Signature · 1 line
2.44.0