From 849c9dc8f48b595209e12230f467690f9b77580c Mon Sep 17 00:00:00 2001 From: Mukul Joshi Date: Sat, 20 Jun 2026 12:29:40 -0400 Subject: [PATCH] drm/amdgpu: initialize UALink importer node list head Initialize the list head at node creation so list_del_init() is safe on a node that has not yet been added to imp_handles_list. Signed-off-by: Mukul Joshi Reviewed-by: Harish Kasiviswanathan Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_ualink.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ualink.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ualink.c index bb3a419f24a1..b9c5220a178c 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ualink.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ualink.c @@ -3263,6 +3263,7 @@ int amdgpu_ualink_import_handle(struct drm_device *dev, imp_xa_node->node_state = AMDGPU_UALINK_NODE_NOT_READY; imp_xa_node->handle = handle; init_completion(&imp_xa_node->npa_done); + INIT_LIST_HEAD(&imp_xa_node->list); kref_init(&imp_xa_node->refcount); /* Take an extra reference to store in the Xarray. The error