pvr: Fix error value returned by pvr_rt_datas_init

Error value is now propagated correctly.

Fixes: 8991e64641 ("pvr: Add a Vulkan driver for Imagination Technologies PowerVR Rogue GPUs")
Signed-off-by: Alessio Belle <alessio.belle@imgtec.com>
Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36412>
This commit is contained in:
Alessio Belle 2025-07-15 11:26:14 +01:00 committed by Marge Bot
parent f2c1f4009b
commit bd074a542e

View file

@ -723,7 +723,7 @@ static VkResult pvr_rt_datas_init(struct pvr_device *device,
err_pvr_rt_mta_mlist_data_fini:
pvr_rt_mta_mlist_data_fini(rt_dataset);
return VK_SUCCESS;
return result;
}
static void pvr_rt_datas_fini(struct pvr_rt_dataset *rt_dataset)