diff options
author | Pan Xiuli <xiuli.pan@linux.intel.com> | 2020-04-15 15:28:04 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-04-16 00:23:08 +0100 |
commit | f480f804f27a3decd03682b707453963bb8b4162 (patch) | |
tree | 840c180a3731f99a01c017c3e0cdc0b09f1705b9 /include/sound/sof/trace.h | |
parent | e6224484454da920874db9ad30ea9b493f5600bd (diff) |
ASoC: SOF: change type char to uint8_t in trace.h
Use uint8_t to replace char in packed ABI structs
to have fixed length for struct.
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Link: https://lore.kernel.org/r/20200415202816.934-13-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound/sof/trace.h')
-rw-r--r-- | include/sound/sof/trace.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sound/sof/trace.h b/include/sound/sof/trace.h index fda6e8f6ead4..8056f214946d 100644 --- a/include/sound/sof/trace.h +++ b/include/sound/sof/trace.h @@ -72,7 +72,7 @@ struct sof_ipc_dma_trace_posn { struct sof_ipc_panic_info { struct sof_ipc_hdr hdr; uint32_t code; /* SOF_IPC_PANIC_ */ - char filename[SOF_TRACE_FILENAME_SIZE]; + uint8_t filename[SOF_TRACE_FILENAME_SIZE]; uint32_t linenum; } __packed; |