Skip to content

cxl: Fix issues with g_steal_pointer()

Thomas Huth qemu-devel qemu-trivial 1 version Applied

Status from this message: Picked up for qemu-trivial, thank you!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 7 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3hw/cxl/cxl-cdat: Fix type of buf in ct3_load_cdat()hw/cxl/cxl-cdat.c+2 -21 reply
2/3hw/pci-bridge/cxl_upstream: Fix problem with g_steal_pointer()hw/pci-bridge/cxl_upstream.c include/hw/cxl/cxl_cdat.h+9 -72 replies
3/3hw/mem/cxl_type3: Fix problem with g_steal_pointer()hw/mem/cxl_type3.c include/hw/cxl/cxl_cdat.h+18 -153 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchJonathan Cameron
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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