drm/amdgpu: Fix integer overflow in amdgpu_cs_pass1
authorjsg <jsg@openbsd.org>
Thu, 24 Aug 2023 05:59:58 +0000 (05:59 +0000)
committerjsg <jsg@openbsd.org>
Thu, 24 Aug 2023 05:59:58 +0000 (05:59 +0000)
commitd6b8148d1a90ba897c4072116aa1b2af888b21ef
tree9af1abbfb42f30c4766d864b8ea18183ccbf0b3c
parent5711e8cd1658a41576184ff96d36e26cd1a00461
drm/amdgpu: Fix integer overflow in amdgpu_cs_pass1

From hackyzh002
9f55d300541cb5b435984d269087810581580b00 in linux-6.1.y/6.1.47
87c2213e85bd81e4a9a4d0880c256568794ae388 in mainline linux
sys/dev/pci/drm/amd/amdgpu/amdgpu_cs.c