linux/arch/powerpc/mm/kasan
Sang-Heon Jeon 21e95a4b6f powerpc64/kasan: Remove unreachable invalid range check in kasan_init_phys_region()
kasan_init() maps each memblock region with for_each_mem_range() and passes
it to kasan_init_phys_region(), which does nothing 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>
Link: https://patch.msgid.link/20260630150413.1718632-7-ekffu200098@gmail.com
Signed-off-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
2026-07-01 09:22:41 +03:00
..
8xx.c powerpc/8xx: rework support for 8M pages using contiguous PTE entries 2024-07-12 15:52:17 -07:00
book3s_32.c powerpc/32s: Fix kasan_init_region() for KASAN 2022-01-16 20:51:05 +11:00
init_32.c kasan: introduce ARCH_DEFER_KASAN and unify static key across modes 2025-09-21 14:21:58 -07:00
init_book3e_64.c powerpc64/kasan: Remove unreachable invalid range check in kasan_init_phys_region() 2026-07-01 09:22:41 +03:00
init_book3s_64.c powerpc64/kasan: Remove unreachable invalid range check in kasan_init_phys_region() 2026-07-01 09:22:41 +03:00
Makefile powerpc/kasan: Disable KCOV in KASAN code 2023-07-17 22:49:44 +10:00