[PATCH 0/4] ASoC: mediatek: fix coverity problems

Trevor Wu trevor.wu at mediatek.com
Mon Mar 6 20:09:34 PST 2023


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




More information about the linux-arm-kernel mailing list