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

Curtis Malainey cujomalainey at google.com
Tue Dec 13 10:13:26 PST 2022


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

Reviewed-by: Curtis Malainey <cujomalainey at chromium.org>



More information about the linux-arm-kernel mailing list