mm_drv: tlb: Fix compile time warning

This fixes the following compile time warning;

drivers/mm/mm_drv_intel_adsp_mtl_tlb.c: In function 'sys_mm_drv_mm_init':
include/zephyr/sys/__assert.h:44:52: error: format '%p' expects argument
of type 'void *', but argument 2 has type
'long unsigned int' [-Werror=format=]
__ASSERT_PRINT("\t" fmt "\n", ##__VA_ARGS__)

Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
This commit is contained in:
Daniel Baluta 2023-09-20 14:02:48 +03:00 committed by Carles Cufí
commit b4998c357e

View file

@ -668,7 +668,7 @@ static int sys_mm_drv_mm_init(const struct device *dev)
__ASSERT(false,
"unused l2 pointer is outside of l2 sram range %p\n",
UNUSED_L2_START_ALIGNED);
(void *)UNUSED_L2_START_ALIGNED);
return -EFAULT;
}