Skip to content

Commit dc94168

Browse files
zhanjunrodrigovivi
authored andcommitted
drm/xe/uc: Fix missing unwind goto
Fix missing unwind goto on error handling. Fixes: b2c4ac2 ("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 176f44a) Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
1 parent 2bd9860 commit dc94168

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/xe/xe_uc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ static int vf_uc_load_hw(struct xe_uc *uc)
164164

165165
err = xe_guc_opt_in_features_enable(&uc->guc);
166166
if (err)
167-
return err;
167+
goto err_out;
168168

169169
err = xe_gt_record_default_lrcs(uc_to_gt(uc));
170170
if (err)

0 commit comments

Comments
 (0)