drm/amd/pm: avoid potential UBSAN issue on legacy asics
authorjsg <jsg@openbsd.org>
Tue, 13 Jun 2023 03:29:00 +0000 (03:29 +0000)
committerjsg <jsg@openbsd.org>
Tue, 13 Jun 2023 03:29:00 +0000 (03:29 +0000)
commit0146cd80a542fdddfcb4d6c42b597bf81ef9c960
tree1643540b96e5cc08df84e9da4eeb51c146abb91f
parent875c32ca610280340b282ce08e4762b7059ac76f
drm/amd/pm: avoid potential UBSAN issue on legacy asics

From Guchun Chen
506da05a5e0fa46e048606581dd8bf3fe0161ab2 in linux-6.1.y/6.1.29
5247f05eadf1081a74b2233f291cee2efed25e3a in mainline linux
sys/dev/pci/drm/amd/pm/amdgpu_dpm.c