From 837ad4b9e0204d4025c545477cbabe4a58653996 Mon Sep 17 00:00:00 2001 From: Karol Trzcinski Date: Wed, 19 Aug 2020 10:13:30 +0200 Subject: [PATCH] trace: Print source hash as zero padded 8 char width value Then src hash and ldc hash should have the same format. Signed-off-by: Karol Trzcinski --- src/trace/dma-trace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/trace/dma-trace.c b/src/trace/dma-trace.c index 53d3ff3f3..be39f5262 100644 --- a/src/trace/dma-trace.c +++ b/src/trace/dma-trace.c @@ -319,7 +319,7 @@ int dma_trace_enable(struct dma_trace_data *d) goto out; /* it should be the very first sent log for easily identification */ - tr_info(&dt_tr, "FW ABI 0x%x DBG ABI 0x%x tag " SOF_GIT_TAG " src hash 0x%x (ldc hash " META_QUOTE(SOF_SRC_HASH) ")", + tr_info(&dt_tr, "FW ABI 0x%x DBG ABI 0x%x tag " SOF_GIT_TAG " src hash 0x%08x (ldc hash " META_QUOTE(SOF_SRC_HASH) ")", SOF_ABI_VERSION, SOF_ABI_DBG_VERSION, SOF_SRC_HASH); #if CONFIG_DMA_GW