Skip to content

ASoC: mediatek: fix coverity problems

Trevor Wu alsa-devel linux-arm-kernel linux-mediatek lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4ASoC: mediatek: mt8195: add dai id check before accessing arraysound/soc/mediatek/mt8195/mt8195-dai-adda.c sound/soc/mediatek/mt8195/mt8195-dai-etdm.c sound/soc/mediatek/mt8195/mt8195-dai-pcm.c+185 -350 replies
2/4ASoC: mediatek: mt9195-mt6359: fix UNINIT problemsound/soc/mediatek/mt8195/mt8195-mt6359.c+1 -10 replies
3/4ASoC: mediatek: mt6358: fix UNINIT problemsound/soc/codecs/mt6358.c+1 -10 replies
4/4ASoC: mediatek: mt6359: fix UNINIT problemsound/soc/codecs/mt6359.c+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(-)
Signature · 1 line
2.18.0