]> 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, 10 Oct 2024 10:00:37 +0000 (12:00 +0200)
commit8adf4408d482faa51b2c14e60bfd9946ec1911a4
treeaabe050c3e84cbb5caa123ad8d48f355b131f5e5
parenta67d874e7a04ecc38940028b98ed93659ced0f30
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