Commit 176f44a5 authored by Zhanjun Dong's avatar Zhanjun Dong Committed by John Harrison
Browse files

drm/xe/uc: Fix missing unwind goto



Fix missing unwind goto on error handling.

Fixes: b2c4ac21 ("drm/xe/uc: Disable GuC communication on hardware initialization error")
Signed-off-by: default avatarZhanjun Dong <zhanjun.dong@intel.com>
Reviewed-by: default avatarMatthew Brost <matthew.brost@intel.com>
Signed-off-by: default avatarJohn Harrison <John.C.Harrison@Intel.com>
Link: https://lore.kernel.org/r/20250721214520.954014-1-zhanjun.dong@intel.com
parent 6c9e64e8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -164,7 +164,7 @@ static int vf_uc_load_hw(struct xe_uc *uc)

	err = xe_guc_opt_in_features_enable(&uc->guc);
	if (err)
		return err;
		goto err_out;

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