drm/amdgpu: fix dereference after null check
authorjsg <jsg@openbsd.org>
Mon, 9 Sep 2024 09:32:06 +0000 (09:32 +0000)
committerjsg <jsg@openbsd.org>
Mon, 9 Sep 2024 09:32:06 +0000 (09:32 +0000)
commitb2e9d6ba720a54e9d63c66d7820bc68ff2d7e576
tree1f22ef882a31224c403d3c7a489944d6f4f6d295
parentf926a68b5c7b450eb425177d879d399faf8535c2
drm/amdgpu: fix dereference after null check

From Jesse Zhang
0aad97bf6d0bc7a34a19f266b0b9fb2861efe64c in linux-6.6.y/6.6.50
b1f7810b05d1950350ac2e06992982974343e441 in mainline linux
sys/dev/pci/drm/amd/amdgpu/amdgpu_device.c