summaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorPan Xiuli <xiuli.pan@linux.intel.com>2020-04-15 15:28:05 -0500
committerMark Brown <broonie@kernel.org>2020-04-16 00:23:09 +0100
commit60829341aa602b74f5f5b9d903e0b809557a54a4 (patch)
tree675c2eaac196ea3794d45ab92cc5665bdc411602 /include/sound
parentf480f804f27a3decd03682b707453963bb8b4162 (diff)
downloadlinux-60829341aa602b74f5f5b9d903e0b809557a54a4.tar.bz2
ASoC: SOF: change type char to uint8_t in topology.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-14-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/sof/topology.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sound/sof/topology.h b/include/sound/sof/topology.h
index 8f8d1cf649f2..6a6b4791eaf6 100644
--- a/include/sound/sof/topology.h
+++ b/include/sound/sof/topology.h
@@ -220,7 +220,7 @@ struct sof_ipc_comp_process {
/* reserved for future use */
uint32_t reserved[7];
- unsigned char data[0];
+ uint8_t data[0];
} __packed;
/* frees components, buffers and pipelines