diff options
| author | 2026-05-22 11:25:29 +0200 | |
|---|---|---|
| committer | 2026-05-29 13:44:00 +0200 | |
| commit | 51d28339bfefe1ed603820669534440465f5dc46 (patch) | |
| tree | fae4acbb556ba300190b9af0a7db02b3b7e3cc06 /scripts/Makefile.thinlto | |
| parent | gpu/buddy: Fix use-after-free in split_block() call sites (diff) | |
gpu/buddy: Remove redundant condition in alloc_from_freetree() error path
The err_undo label in alloc_from_freetree() is only reachable via a
goto from inside the `while (tmp != order)` loop, which means tmp is
guaranteed to differ from order at that point. The surrounding
`if (tmp != order)` guard was therefore always true and can be dropped
without any behavioral change.
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://lore.kernel.org/r/20260522092600.32818-3-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
