diff options
| author | Ard Biesheuvel <ardb@kernel.org> | 2026-05-29 17:01:52 +0200 |
|---|---|---|
| committer | Will Deacon <will@kernel.org> | 2026-06-02 16:29:15 +0100 |
| commit | 36ca7f4be8094d1441fc35e00dd581467badf298 (patch) | |
| tree | 61ecc82c7092b609f19b18baa33b2f55488db0a4 /scripts/Makefile.thinlto | |
| parent | 13d0fdc0901614f0d6c9066193bca6fe63a70c6e (diff) | |
arm64: mm: Remove bogus stop condition from map_mem() loop
The memblock API guarantees that start is not greater than or equal to
end, so there is no need to test it. And if it were, it is doubtful that
breaking out of the loop would be a reasonable course of action here
(rather than attempting to map the remaining regions)
So let's drop this check.
Reviewed-by: Ryan Roberts <ryan.roberts@arm.com>
Reviewed-by: Kevin Brodsky <kevin.brodsky@arm.com>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
