summaryrefslogtreecommitdiffstats
path: root/sound/soc/sof/pcm.c
diff options
context:
space:
mode:
authorCurtis Malainey <cujomalainey@chromium.org>2020-11-20 15:40:25 +0100
committerMark Brown <broonie@kernel.org>2020-11-20 17:42:14 +0100
commit7c1d0e554a359cca77bfabd2a29b06f5322d172d (patch)
tree1499ce618ae5c20e00557fb0c7cfbb48024932cb /sound/soc/sof/pcm.c
parentMerge series "ASoC: mt6359: Fix regulator_dev_lookup() fails for id "LDO_VAUD... (diff)
downloadlinux-7c1d0e554a359cca77bfabd2a29b06f5322d172d.tar.xz
linux-7c1d0e554a359cca77bfabd2a29b06f5322d172d.zip
ASoC: SOF: IPC: fix implicit type overflow
Implicit values may have a length of 15bits (s16) so we need to declare the proper size so we don't get undefined behaviour. This appears to be arch and compiler dependent. This commit is to keep the headers aligned between the firmware and kernel. UBSan discovered this bug in the firmware. Signed-off-by: Curtis Malainey <cujomalainey@chromium.org> Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com> Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com> Link: https://lore.kernel.org/r/20201120144025.2166023-1-kai.vehmanen@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sof/pcm.c')
0 files changed, 0 insertions, 0 deletions