Skip to content

Commit 0bcf411

Browse files
committed
drm/xe: Fix xe_tile_init_noalloc() error propagation
Propagate the error to the caller so initialization properly stops if sysfs creation fails. Reviewed-by: Francois Dugast <[email protected]> Reviewed-by: Himal Prasad Ghimiray <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Signed-off-by: Lucas De Marchi <[email protected]>
1 parent 121b214 commit 0bcf411

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

drivers/gpu/drm/xe/xe_tile.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -168,9 +168,7 @@ int xe_tile_init_noalloc(struct xe_tile *tile)
168168

169169
xe_wa_apply_tile_workarounds(tile);
170170

171-
err = xe_tile_sysfs_init(tile);
172-
173-
return 0;
171+
return xe_tile_sysfs_init(tile);
174172
}
175173

176174
int xe_tile_init(struct xe_tile *tile)

0 commit comments

Comments
 (0)