Re: [PATCH 03/12] hw/pci-bridge/cxl_upstream: Drop g_malloc0() failure handling

2024-01-24 Thread fan
On Wed, Jan 24, 2024 at 12:40:51PM +, Jonathan Cameron wrote: > As a failure of g_malloc0() will result in QEMU exiting, it s/g_malloc0/g_malloc/ Fan > won't return a NULL to check. As such, drop the incorrect handling > of such NULL returns in the cdat table building code. > >

[PATCH 03/12] hw/pci-bridge/cxl_upstream: Drop g_malloc0() failure handling

2024-01-24 Thread Jonathan Cameron via
As a failure of g_malloc0() will result in QEMU exiting, it won't return a NULL to check. As such, drop the incorrect handling of such NULL returns in the cdat table building code. Signed-off-by: Jonathan Cameron --- hw/pci-bridge/cxl_upstream.c | 6 -- 1 file changed, 6 deletions(-) diff