Skip to content
Permalink
Browse files

arc: logging: fix logging expression

Fix log expressions to use %lx instead of %x for uintptr_t variables.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
  • Loading branch information...
nashif committed Jun 26, 2019
1 parent ff07fc7 commit 94cb13fffe530ddce31e60a875864d3d4624f1ef
Showing with 1 addition and 1 deletion.
  1. +1 −1 arch/arc/core/mpu/arc_mpu_v2_internal.h
@@ -325,7 +325,7 @@ void arc_core_mpu_configure_mem_domain(struct k_thread *thread)

for (; region_index >= 0; region_index--) {
if (num_partitions) {
LOG_DBG("set region 0x%x 0x%x 0x%x",
LOG_DBG("set region 0x%x 0x%lx 0x%x",
region_index, pparts->start, pparts->size);
_region_init(region_index, pparts->start,
pparts->size, pparts->attr);

0 comments on commit 94cb13f

Please sign in to comment.
You can’t perform that action at this time.