drm/amd/pm: Fix negative array index read
authorjsg <jsg@openbsd.org>
Mon, 9 Sep 2024 08:36:51 +0000 (08:36 +0000)
committerjsg <jsg@openbsd.org>
Mon, 9 Sep 2024 08:36:51 +0000 (08:36 +0000)
commite1c53d92977090e9f726fe2a385f72b50dc30b1d
treec80a42da3f7b1aab7acc0614bb565c673a000562
parent29830895a38a41dd013f4424b9481ceb5e6ab681
drm/amd/pm: Fix negative array index read

From Jesse Zhang
4711b1347cb9f0c3083da6d87c624d75f9bd1d50 in linux-6.6.y/6.6.50
c8c19ebf7c0b202a6a2d37a52ca112432723db5f in mainline linux
sys/dev/pci/drm/amd/pm/swsmu/smu11/navi10_ppt.c