]> www.infradead.org Git - users/jedix/linux-maple.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)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 21 Aug 2024 02:14:14 +0000 (22:14 -0400)
commit186fb12e7a7b038c2710ceb2fb74068f1b5d55a4
tree4e401db078a69746db78af10301d970214e6c50a
parentbf2bc61638033d118c9ef4ab1204295ba6694401
drm/amd/pm: ensure the fw_info is not null before using it

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>
drivers/gpu/drm/amd/pm/powerplay/hwmgr/processpptables.c