Re: [PATCH] ASoC: SOF: mediatek: initialize panic_info to zero

From: Curtis Malainey
Date: Tue Dec 13 2022 - 13:13:52 EST


On Tue, Dec 13, 2022 at 3:56 AM YC Hung <yc.hung@xxxxxxxxxxxx> 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@xxxxxxxxxxxx>

Reviewed-by: Curtis Malainey <cujomalainey@xxxxxxxxxxxx>