diff options
| author | 2026-05-22 11:25:30 +0200 | |
|---|---|---|
| committer | 2026-05-29 13:44:00 +0200 | |
| commit | e16ac0132f1dcb2ad403de6dbefc2a3881cd5112 (patch) | |
| tree | 1a181f41e1d0745b3eb3a688fb740c15c79f9c42 /scripts/Makefile.thinlto | |
| parent | gpu/buddy: Remove redundant condition in alloc_from_freetree() error path (diff) | |
gpu/buddy: Introduce __gpu_buddy_undo_splits() helper
The pattern of merging a block back with its buddy on error paths is
duplicated across multiple locations. Extract it into a
__gpu_buddy_undo_splits() helper to avoid repetition and prepare for
future changes.
Suggested-by: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://lore.kernel.org/r/20260522092600.32818-4-francois.dugast@intel.com
Signed-off-by: Francois Dugast <francois.dugast@intel.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
