drm/radeon: fix potential buffer overflow in ni_set_mc_special_registers()
authorjsg <jsg@openbsd.org>
Thu, 18 Aug 2022 00:48:40 +0000 (00:48 +0000)
committerjsg <jsg@openbsd.org>
Thu, 18 Aug 2022 00:48:40 +0000 (00:48 +0000)
commitcb6ca24ba072e49abd3ff50facf94b82941018d6
treed6d5ce0a5ec00a066670c4daa55513d1d196423a
parent5ca374a5553675b3e146d98e5ea968342957e9e3
drm/radeon: fix potential buffer overflow in ni_set_mc_special_registers()

From Alexey Kodanev
deb603c5928e546609c0d5798e231d0205748943 in linux 5.15.y/5.15.61
136f614931a2bb73616b292cf542da3a18daefd5 in mainline linux
sys/dev/pci/drm/radeon/ni_dpm.c