From 0956647aaf6bd2b1e840adcc86db503f274d84a9 Mon Sep 17 00:00:00 2001 From: Florian Grandel Date: Fri, 9 Sep 2022 20:08:35 +0200 Subject: [PATCH] pm: device_runtime.c: compile error Enabling device power management together with tracing caused a compile error. Fixes: #50107 Signed-off-by: Florian Grandel --- subsys/tracing/sysview/tracing_sysview.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subsys/tracing/sysview/tracing_sysview.h b/subsys/tracing/sysview/tracing_sysview.h index a66b8599c9d..3827e46ad5a 100644 --- a/subsys/tracing/sysview/tracing_sysview.h +++ b/subsys/tracing/sysview/tracing_sysview.h @@ -645,7 +645,7 @@ void sys_trace_k_thread_info(struct k_thread *thread); SEGGER_SYSVIEW_RecordU32(TID_PM_DEVICE_RUNTIME_ENABLE, \ (uint32_t)(uintptr_t)dev) #define sys_port_trace_pm_device_runtime_enable_exit(dev, ret) \ - SEGGER_SYSVIEW_RecordEndCall(TID_PM_DEVICE_RUNTIME_ENABLE, \ + SEGGER_SYSVIEW_RecordEndCallU32(TID_PM_DEVICE_RUNTIME_ENABLE, \ (uint32_t)ret) #define sys_port_trace_pm_device_runtime_disable_enter(dev) \ SEGGER_SYSVIEW_RecordU32(TID_PM_DEVICE_RUNTIME_DISABLE, \