Skip to content
Commit 5a11de06 authored by Yong Cong Sin's avatar Yong Cong Sin Committed by Johan Hedberg
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>
(cherry picked from commit 3ed8c4d6)
parent 086b5b96
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment