Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/xe/uc: Fix missing unwind goto

Fix missing unwind goto on error handling.

Fixes: b2c4ac219fa4 ("drm/xe/uc: Disable GuC communication on hardware initialization error")
Signed-off-by: Zhanjun Dong <zhanjun.dong@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Link: https://lore.kernel.org/r/20250721214520.954014-1-zhanjun.dong@intel.com
(cherry picked from commit 176f44a5ec0b074aaf44852db77d0c183c36696d)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>

authored by

Zhanjun Dong and committed by
Rodrigo Vivi
dc94168e 2bd98602

+1 -1
+1 -1
drivers/gpu/drm/xe/xe_uc.c
··· 164 164 165 165 err = xe_guc_opt_in_features_enable(&uc->guc); 166 166 if (err) 167 - return err; 167 + goto err_out; 168 168 169 169 err = xe_gt_record_default_lrcs(uc_to_gt(uc)); 170 170 if (err)