--- Begin Message ---
- To: <broonie@xxxxxxxxxx>, <lgirdwood@xxxxxxxxx>, <tiwai@xxxxxxxx>, <perex@xxxxxxxx>, <matthias.bgg@xxxxxxxxx>, <angelogioacchino.delregno@xxxxxxxxxxxxx>
- Subject: [PATCH 0/4] ASoC: mediatek: fix coverity problems
- From: Trevor Wu <trevor.wu@xxxxxxxxxxxx>
- Date: Tue, 7 Mar 2023 12:09:34 +0800
- Cc: trevor.wu@xxxxxxxxxxxx, jiaxin.yu@xxxxxxxxxxxx, alsa-devel@xxxxxxxxxxxxxxxx, linux-mediatek@xxxxxxxxxxxxxxxxxxx, linux-arm-kernel@xxxxxxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx
Coverity reports some UNINIT and CERT STR31-C problems, so we add
initialization and dai id check to resolve problems.
Trevor Wu (4):
ASoC: mediatek: mt8195: add dai id check before accessing array
ASoC: mediatek: mt9195-mt6359: fix UNINIT problem
ASoC: mediatek: mt6358: fix UNINIT problem
ASoC: mediatek: mt6359: fix UNINIT problem
sound/soc/codecs/mt6358.c | 2 +-
sound/soc/codecs/mt6359.c | 2 +-
sound/soc/mediatek/mt8195/mt8195-dai-adda.c | 17 +-
sound/soc/mediatek/mt8195/mt8195-dai-etdm.c | 177 +++++++++++++++++---
sound/soc/mediatek/mt8195/mt8195-dai-pcm.c | 26 ++-
sound/soc/mediatek/mt8195/mt8195-mt6359.c | 2 +-
6 files changed, 188 insertions(+), 38 deletions(-)
--
2.18.0
--- End Message ---