2022-12-13 18:28:42

by Curtis Malainey

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

On Tue, Dec 13, 2022 at 3:56 AM YC Hung <[email protected]> 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 <[email protected]>

Reviewed-by: Curtis Malainey <[email protected]>