]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu: fix the waring dereferencing hive
authorJesse Zhang <jesse.zhang@amd.com>
Wed, 8 May 2024 08:20:49 +0000 (16:20 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 13 May 2024 20:11:53 +0000 (16:11 -0400)
commit1940708ccf5aff76de4e0b399f99267c93a89193
treeb291acc395d4acdbd1686ea2965fb41bc74aa7ea
parentb1f7810b05d1950350ac2e06992982974343e441
drm/amdgpu: fix the waring dereferencing hive

Check the amdgpu_hive_info *hive that maybe is NULL.

Signed-off-by: Jesse Zhang <Jesse.Zhang@amd.com>
Reviewed-by: Tim Huang <Tim.Huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c