From: Pan Xiuli Date: Wed, 15 Apr 2020 20:28:05 +0000 (-0500) Subject: ASoC: SOF: change type char to uint8_t in topology.h X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=60829341aa602b74f5f5b9d903e0b809557a54a4;p=linux.git 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 Signed-off-by: Pierre-Louis Bossart Reviewed-by: Kai Vehmanen Link: https://lore.kernel.org/r/20200415202816.934-14-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown --- diff --git a/include/sound/sof/topology.h b/include/sound/sof/topology.h index 8f8d1cf649f2e..6a6b4791eaf65 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