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 <[email protected]> Reviewed-by: Matthew Brost <[email protected]> Signed-off-by: John Harrison <[email protected]> Link: https://lore.kernel.org/r/[email protected] (cherry picked from commit 176f44a5ec0b074aaf44852db77d0c183c36696d) Signed-off-by: Rodrigo Vivi <[email protected]>
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)