diff options
author | 2022-02-22 18:32:07 +0000 | |
---|---|---|
committer | 2022-02-23 02:04:04 +0000 | |
commit | 0ea5eff7c6063a8f124188424f8e4c6727f35051 (patch) | |
tree | 37da84067b2887bc3a309491dfee162477288640 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ASoC: codecs: rx-macro: fix accessing array out of bounds for enum type (diff) | |
download | linux-dev-0ea5eff7c6063a8f124188424f8e4c6727f35051.tar.xz linux-dev-0ea5eff7c6063a8f124188424f8e4c6727f35051.zip |
ASoC: codecs: va-macro: 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.
Fixes: 908e6b1df26e ("ASoC: codecs: lpass-va-macro: Add support to VA Macro")
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20220222183212.11580-5-srinivas.kandagatla@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions