drm/amd/pm: fix variable dereferenced issue in amdgpu_device_attr_create()
authorjsg <jsg@openbsd.org>
Wed, 13 Sep 2023 12:55:18 +0000 (12:55 +0000)
committerjsg <jsg@openbsd.org>
Wed, 13 Sep 2023 12:55:18 +0000 (12:55 +0000)
commit0f285a81b08a5bc942bc110a3fe6cd0c5f82f655
treeb0cd72ac934aec9165ce7cefff7eca5b81ace6bb
parentba393808e06df49c3cb8d98e19f8412afb9cc518
drm/amd/pm: fix variable dereferenced issue in amdgpu_device_attr_create()

From Yang Wang
f27dff881f0b8f1a5bc64d48a19802dd520bc482 in linux-6.1.y/6.1.53
25e6373a5b8efc623443f2699d2b929bf3067d76 in mainline linux
sys/dev/pci/drm/amd/pm/amdgpu_pm.c