diff options
| author | 2026-03-23 09:48:28 +0200 | |
|---|---|---|
| committer | 2026-04-01 11:19:45 +0300 | |
| commit | c12c3e1507809ad1fc0448f51c933f52e17d13cd (patch) | |
| tree | 2219d0e819f9e162384303289936c1fb75ec09aa /tools/perf/scripts/python | |
| parent | memblock: move reserve_bootmem_range() to memblock.c and make it static (diff) | |
memblock: reserve_mem: fix end caclulation in reserve_mem_release_by_name()
free_reserved_area() expects end parameter to point to the first address
after the area, but reserve_mem_release_by_name() passes it the last
address inside the area.
Remove subtraction of one in calculation of the area end.
Fixes: 74e2498ccf7b ("mm/memblock: Add reserved memory release function")
Link: https://patch.msgid.link/20260323074836.3653702-2-rppt@kernel.org
Signed-off-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
