linux-stable/include/uapi/sound/sof
Curtis Malainey 4aaa06b227
ASoC: SOF: fix 32 signed bit overflow
Shifting in a signed 32bit container past the signed bit is technically
undefined behaviour. Fix by using unsigned types. Found via cppcheck.

Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Liam Girdwood <liam.r.girdwood@intel.com>
Signed-off-by: Curtis Malainey <cujomalainey@chromium.org>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20220304205733.62233-9-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2022-03-07 13:12:52 +00:00
..
abi.h ASoC: SOF: fix 32 signed bit overflow 2022-03-07 13:12:52 +00:00
fw.h ASoC: SOF: use __u32 instead of uint32_t in uapi headers 2019-07-22 13:01:06 +01:00
header.h ASoC: SOF: use __u32 instead of uint32_t in uapi headers 2019-07-22 13:01:06 +01:00
tokens.h ASoC: SOF: tokens: add token for Mediatek AFE 2021-11-18 13:57:36 +00:00