aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorCurtis Malainey <[email protected]>2020-11-20 16:40:25 +0200
committerMark Brown <[email protected]>2020-11-20 16:42:14 +0000
commit7c1d0e554a359cca77bfabd2a29b06f5322d172d (patch)
tree1499ce618ae5c20e00557fb0c7cfbb48024932cb /lib/mpi/mpi-mod.c
parent6b114d8b4dedab4712bfa77b4bdd81813aba3895 (diff)
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 <[email protected]> Reviewed-by: Guennadi Liakhovetski <[email protected]> Signed-off-by: Kai Vehmanen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions