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 <karolx.trzcinski@linux.intel.com>
This commit is contained in:
Karol Trzcinski 2020-08-19 10:13:30 +02:00 committed by Liam Girdwood
parent 61f9d3de34
commit 837ad4b9e0
1 changed files with 1 additions and 1 deletions

View File

@ -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