Skip to content

Commit 8a97c83

Browse files
committed
arm: aarch32: mpu: Fix build issue with assert
The assert log of z_priv_stacks_ram_start failed to build due to passing &z_priv_stacks_ram_start instead of just z_priv_stacks_ram_start. Fixes #39190 Signed-off-by: Kumar Gala <[email protected]>
1 parent 4214421 commit 8a97c83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arm/core/aarch32/mpu/arm_core_mpu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ void z_arm_configure_dynamic_mpu_regions(struct k_thread *thread)
278278

279279
__ASSERT((uintptr_t)&z_priv_stacks_ram_start <= guard_start,
280280
"Guard start: (0x%lx) below privilege stacks boundary: (%p)",
281-
guard_start, &z_priv_stacks_ram_start);
281+
guard_start, z_priv_stacks_ram_start);
282282
} else
283283
#endif /* CONFIG_USERSPACE */
284284
{

0 commit comments

Comments
 (0)