trace: fix formatting

Getting formatting warnings when building with Zephyr which prevents
successful build in CI.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2020-12-18 12:10:30 -05:00 committed by Liam Girdwood
parent f4e4ca752a
commit a140f2f4bb
2 changed files with 3 additions and 3 deletions

View File

@ -521,8 +521,8 @@ static int kpb_prepare(struct comp_dev *dev)
}
if (!kpb->sel_sink || !kpb->host_sink) {
comp_info(dev, "kpb_prepare(): could not find sinks: sel_sink %d host_sink %d",
(uintptr_t)kpb->sel_sink, (uintptr_t)kpb->host_sink);
comp_info(dev, "kpb_prepare(): could not find sinks: sel_sink %p host_sink %p",
kpb->sel_sink, kpb->host_sink);
ret = -EIO;
}

View File

@ -139,7 +139,7 @@ static void emit_recent_entry(struct recent_log_entry *entry)
_log_message(trace_log_unfiltered, false, LOG_LEVEL_INFO, _TRACE_INV_CLASS, &dt_tr,
_TRACE_INV_ID, _TRACE_INV_ID, "Suppressed %u similar messages: %pQ",
entry->trigger_count - CONFIG_TRACE_BURST_COUNT,
entry->entry_id);
(void *)entry->entry_id);
memset(entry, 0, sizeof(*entry));
}