]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amd/pm: ensure the fw_info is not null before using it
authorTim Huang <tim.huang@amd.com>
Wed, 7 Aug 2024 09:15:12 +0000 (17:15 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Oct 2024 13:11:32 +0000 (15:11 +0200)
commit9550d8d6f19fac7623f044ae8d9503825b325497
treeeac7ef238a6e853ff08c086c8d3f1b047de7777c
parentc8c095856c1f27426742beec58724f9163cacab1
drm/amd/pm: ensure the fw_info is not null before using it

[ Upstream commit 186fb12e7a7b038c2710ceb2fb74068f1b5d55a4 ]

This resolves the dereference null return value warning
reported by Coverity.

Signed-off-by: Tim Huang <tim.huang@amd.com>
Reviewed-by: Jesse Zhang <jesse.zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/pm/powerplay/hwmgr/processpptables.c