diff options
| author | Thorsten Blum <thorsten.blum@linux.dev> | 2026-08-09 18:24:01 +0200 |
|---|---|---|
| committer | Madhavan Srinivasan <maddy@linux.ibm.com> | 2026-09-05 11:11:39 +0530 |
| commit | c6755be4838d6ccd641effbcdc3d917b82631ff9 (patch) | |
| tree | 312c43e68a732ba3e27c96f21f8b2f5fb5529ff5 /tools/lib/python/kdoc/python_version.py | |
| parent | 8a4978c17a144a6583478cce933bcb2dbb25298d (diff) | |
powerpc/kexec_file: Use inclusive range checks in add_usable_mem()
add_usable_mem() adds usable memory ranges for the kdump kernel.
The ranges are inclusive, but the partial overlap check uses exclusive
comparisons. This skips ranges with base == loc_end or end == loc_base.
Use inclusive comparisons instead.
Fixes: 7c64e21a1c5a ("powerpc/kexec_file: Restrict memory usage of kdump kernel")
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Reviewed-by: Sourabh Jain <sourabhjain@linux.ibm.com>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/20260809162403.18142-2-thorsten.blum@linux.dev
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
