ASoC: wm_adsp: Compressed stream DSP memory structs should be __packed
authorSimon Trimmer <simont@opensource.cirrus.com>
Wed, 9 Mar 2022 13:00:17 +0000 (13:00 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 9 Mar 2022 17:50:26 +0000 (17:50 +0000)
commit353bb6a5f2ac495f289b7c7a528c7d134c9a8ec4
tree43180ae9592d30fa7d7adaa0bf6ba7adcdc82cf3
parent5e02fb590e83684f63217f93a9cdeabd6a925f9c
ASoC: wm_adsp: Compressed stream DSP memory structs should be __packed

The compressed stream code has a bunch of structs that are used to
represent DSP memory but have not been marked __packed. This isn't
safe, they could get padded on a 64-bit build.

Signed-off-by: Simon Trimmer <simont@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20220309130017.2816-1-simont@opensource.cirrus.com
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm_adsp.c