summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorYC Hung <yc.hung@mediatek.com>2022-12-13 19:56:17 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-01-12 12:02:37 +0100
commitb48f8c9a81bea30892f793639a0884a2bd3e15da (patch)
treeae9656d6af333e33e780240763b2392562080954 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentee887708e25ee2d3002e2894eca1b7c4be17f0eb (diff)
ASoC: SOF: mediatek: initialize panic_info to zero
[ Upstream commit 7bd220f2ba9014b78f0304178103393554b8c4fe ] 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@mediatek.com> Reviewed-by: Curtis Malainey <cujomalainey@chromium.org> Link: https://lore.kernel.org/r/20221213115617.25086-1-yc.hung@mediatek.com Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions