diff options
| author | Thorsten Blum <thorsten.blum@linux.dev> | 2026-08-10 16:58:27 +0200 |
|---|---|---|
| committer | Madhavan Srinivasan <maddy@linux.ibm.com> | 2026-09-05 11:11:40 +0530 |
| commit | 449f60f99f8f3cbe80a9bd2242945e827c5ed003 (patch) | |
| tree | 6a5748da1ebcf0d66b30e3a48dd264409c757424 /tools/lib/python/kdoc/python_version.py | |
| parent | 68832eb08751b4ce23e90bd90e9414a465a99da3 (diff) | |
powerpc/kexec_file: Use inclusive range checks for excluded memory
arch_check_excluded_range() checks if a kexec segment overlaps an
excluded memory range.
Both ranges use inclusive end addresses, but the overlap check uses
exclusive comparisons. This skips ranges with start == ->ranges[i].end
or end == ->ranges[i].start. Use inclusive comparisons instead.
Fixes: 6e5250eaa665 ("powerpc/crash: use generic APIs to locate memory hole for kdump")
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/20260810145827.157972-3-thorsten.blum@linux.dev
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
