summaryrefslogtreecommitdiff
path: root/include/sound/sof/info.h
diff options
context:
space:
mode:
authorPan Xiuli <xiuli.pan@linux.intel.com>2020-04-15 23:28:03 +0300
committerMark Brown <broonie@kernel.org>2020-04-16 02:23:07 +0300
commite6224484454da920874db9ad30ea9b493f5600bd (patch)
tree53534af2d3e1b2abadd3ab6b6b7303f397356855 /include/sound/sof/info.h
parent2014185eba4e061db038a59a6e1d85e88291edc6 (diff)
downloadlinux-e6224484454da920874db9ad30ea9b493f5600bd.tar.xz
ASoC: SOF: change type char to uint8_t in info.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-12-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound/sof/info.h')
-rw-r--r--include/sound/sof/info.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/sound/sof/info.h b/include/sound/sof/info.h
index 162f38430958..2ef98b2fee1f 100644
--- a/include/sound/sof/info.h
+++ b/include/sound/sof/info.h
@@ -111,9 +111,9 @@ struct sof_ipc_cc_version {
/* reserved for future use */
uint32_t reserved[4];
- char name[16]; /* null terminated compiler name */
- char optim[4]; /* null terminated compiler -O flag value */
- char desc[]; /* null terminated compiler description */
+ uint8_t name[16]; /* null terminated compiler name */
+ uint8_t optim[4]; /* null terminated compiler -O flag value */
+ uint8_t desc[]; /* null terminated compiler description */
} __packed;
/* extended data: Probe setup */