summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorCezary Rojewski <cezary.rojewski@intel.com>2024-04-05 12:09:23 +0300
committerMark Brown <broonie@kernel.org>2024-04-05 15:13:07 +0300
commitc7e832cabe635df47c2bf6df7801e97bf3045b1e (patch)
treed202212f8fb564b8ded0d1d96490be2724d3897c /tools/perf/scripts/python/sctop.py
parent47714847592b574ff594ceca7ebe0ada70dbac3c (diff)
downloadlinux-c7e832cabe635df47c2bf6df7801e97bf3045b1e.tar.xz
ASoC: Intel: avs: Fix potential integer overflow
While stream_tag for CLDMA on SKL-based platforms is always 1, function hda_cldma_setup() uses AZX_SD_CTL_STRM() macro which does: stream_tag << 20 what combined with stream_tag type of 'unsigned int' generates a potential overflow issue. Update the field type to fix that. Fixes: 45864e49a05a ("ASoC: Intel: avs: Implement CLDMA transfer") Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com> Link: https://msgid.link/r/20240405090929.1184068-8-cezary.rojewski@intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions