[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOReqxihOWVh0rGqwqCJ3SEOnEpH3RDQv-U1PEQJ6Tj5e02Vag@mail.gmail.com>
Date: Tue, 13 Dec 2022 10:13:26 -0800
From: Curtis Malainey <cujomalainey@...gle.com>
To: YC Hung <yc.hung@...iatek.com>
Cc: Pierre-Louis Bossart <pierre-louis.bossart@...ux.intel.com>,
Liam Girdwood <lgirdwood@...il.com>,
Peter Ujfalusi <peter.ujfalusi@...ux.intel.com>,
Bard Liao <yung-chuan.liao@...ux.intel.com>,
Ranjani Sridharan <ranjani.sridharan@...ux.intel.com>,
Kai Vehmanen <kai.vehmanen@...ux.intel.com>,
Daniel Baluta <daniel.baluta@....com>,
Mark Brown <broonie@...nel.org>,
Jaroslav Kysela <perex@...ex.cz>,
Takashi Iwai <tiwai@...e.com>,
Matthias Brugger <matthias.bgg@...il.com>,
Chao Song <chao.song@...el.com>,
sound-open-firmware@...a-project.org, alsa-devel@...a-project.org,
linux-arm-kernel@...ts.infradead.org,
linux-mediatek@...ts.infradead.org, linux-kernel@...r.kernel.org,
chunxu.li@...iatek.com, Trevor Wu <trevor.wu@...iatek.com>,
Curtis Malainey <cujomalainey@...omium.org>
Subject: Re: [PATCH] ASoC: SOF: mediatek: initialize panic_info to zero
On Tue, Dec 13, 2022 at 3:56 AM YC Hung <yc.hung@...iatek.com> wrote:
>
> Coverity spotted that panic_info is not initialized to zero in
> mtk_adsp_dump. Using uninitialized value panic_info.linenum when
> calling snd_sof_get_status. Fix this coverity by initializing
> panic_info struct as zero.
>
> Signed-off-by: YC Hung <yc.hung@...iatek.com>
Reviewed-by: Curtis Malainey <cujomalainey@...omium.org>
Powered by blists - more mailing lists