drm/amdgpu: Fix a null pointer access when the smc_rreg pointer is NULL
authorjsg <jsg@openbsd.org>
Thu, 30 Nov 2023 02:37:03 +0000 (02:37 +0000)
committerjsg <jsg@openbsd.org>
Thu, 30 Nov 2023 02:37:03 +0000 (02:37 +0000)
commit9bc9405e5f5c2583f4b3f68873465c21f232a968
tree7842a5793d898443e3d206125b41ab4360243d18
parent6a6ae6f6e78e5a1813d991eb6bb65167d4144e5a
drm/amdgpu: Fix a null pointer access when the smc_rreg pointer is NULL

From Qu Huang
6c1b3d89a2dda79881726bb6e37af19c0936d736 in linux-6.1.y/6.1.64
5104fdf50d326db2c1a994f8b35dcd46e63ae4ad in mainline linux
sys/dev/pci/drm/amd/amdgpu/amdgpu_debugfs.c