mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/4] ASoC: mediatek: fix coverity problems
@ 2023-03-07  4:09 Trevor Wu
  2023-03-07  4:09 ` [PATCH 1/4] ASoC: mediatek: mt8195: add dai id check before accessing array Trevor Wu
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Trevor Wu @ 2023-03-07  4:09 UTC (permalink / raw)
  To: broonie, lgirdwood, tiwai, perex, matthias.bgg,
	angelogioacchino.delregno
  Cc: trevor.wu, jiaxin.yu, alsa-devel, linux-mediatek,
	linux-arm-kernel, linux-kernel

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-03-13 19:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-07  4:09 [PATCH 0/4] ASoC: mediatek: fix coverity problems Trevor Wu
2023-03-07  4:09 ` [PATCH 1/4] ASoC: mediatek: mt8195: add dai id check before accessing array Trevor Wu
2023-03-07  4:09 ` [PATCH 2/4] ASoC: mediatek: mt9195-mt6359: fix UNINIT problem Trevor Wu
2023-03-07  4:09 ` [PATCH 3/4] ASoC: mediatek: mt6358: " Trevor Wu
2023-03-07  4:09 ` [PATCH 4/4] ASoC: mediatek: mt6359: " Trevor Wu
2023-03-13 19:07 ` [PATCH 0/4] ASoC: mediatek: fix coverity problems Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®