aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorSrinivas Kandagatla <[email protected]>2022-02-22 18:32:09 +0000
committerMark Brown <[email protected]>2022-02-23 02:04:06 +0000
commitcc587b7c8fbbe128f6bd0dad025a0caea5e6d164 (patch)
treefe204f24d9f30f2dc9767e3cbd20e52eb8794b82 /tools/perf/scripts/python/stackcollapse.py
parent0ea5eff7c6063a8f124188424f8e4c6727f35051 (diff)
ASoC: codecs: wc938x: fix accessing array out of bounds for enum type
Accessing enums using integer would result in array out of bounds access on platforms like aarch64 where sizeof(long) is 8 compared to enum size which is 4 bytes. Fix this by using enumerated items instead of integers. Fixes: e8ba1e05bdc0 ("ASoC: codecs: wcd938x: add basic controls") Signed-off-by: Srinivas Kandagatla <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions