drm/amd/pm: check negtive return for table entries
authorjsg <jsg@openbsd.org>
Mon, 9 Sep 2024 09:39:49 +0000 (09:39 +0000)
committerjsg <jsg@openbsd.org>
Mon, 9 Sep 2024 09:39:49 +0000 (09:39 +0000)
commit99a23135b329436a52ac233cae51a5119c525659
tree8377f4c444832341dd404598589cd36c2b03d7b0
parent5c39f71215ccf952d636c70edf8a26843f0b0cde
drm/amd/pm: check negtive return for table entries

From Jesse Zhang
7e8d106ca98aac5ba4fc8816e64fea994ab83d54 in linux-6.6.y/6.6.50
f76059fe14395b37ba8d997eb0381b1b9e80a939 in mainline linux
sys/dev/pci/drm/amd/pm/powerplay/hwmgr/pp_psm.c