Skip to content
Commit 3ed8c4d6 authored by Yong Cong Sin's avatar Yong Cong Sin Committed by Carles Cufí
Browse files

kernel: mmu: fix compilation warnings when memory address and size are 0



When both the memory base address & its size are zero, the
assertions test will be comparing an unsigned int against zero
which result in compilation warning, and will be raised to
error in Twister

Fix them with more conditional compilations.

Signed-off-by: default avatarYong Cong Sin <ycsin@meta.com>
parent 7cbdbaf1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment