diff options
| author | Sang-Heon Jeon <ekffu200098@gmail.com> | 2026-07-01 00:04:09 +0900 |
|---|---|---|
| committer | Mike Rapoport (Microsoft) <rppt@kernel.org> | 2026-07-01 09:22:40 +0300 |
| commit | 8008f6995d0c0cf22e7b4d60e95fe14085c10f35 (patch) | |
| tree | a535711feedeed6ea9bb34ccda513e26e696bd0a /scripts/Makefile.thinlto | |
| parent | 99e60ebe108817fd48791f2cb81f1e672ad8285b (diff) | |
| download | linux-next-8008f6995d0c0cf22e7b4d60e95fe14085c10f35.tar.gz linux-next-8008f6995d0c0cf22e7b4d60e95fe14085c10f35.zip | |
riscv: remove unreachable invalid range check in kasan_init()
kasan_init() populates the linear mapping shadow with for_each_mem_range()
and breaks the loop when start >= end. for_each_mem_range() never returns
an invalid range, so start < end always.
Therefore the start >= end check is unreachable, so remove it.
No functional change.
Signed-off-by: Sang-Heon Jeon <ekffu200098@gmail.com>
Reviewed-by: Charlie Jenkins <thecharlesjenkins@gmail.com>
Tested-by: Charlie Jenkins <thecharlesjenkins@gmail.com>
Reviewed-by: Andrey Ryabinin <ryabinin.a.a@gmail.com>
Link: https://patch.msgid.link/20260630150413.1718632-5-ekffu200098@gmail.com
Signed-off-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
