drm/radeon/r600_cs: Fix possible int overflows in r600_cs_check_reg()
authorjsg <jsg@openbsd.org>
Mon, 29 Jan 2024 01:27:31 +0000 (01:27 +0000)
committerjsg <jsg@openbsd.org>
Mon, 29 Jan 2024 01:27:31 +0000 (01:27 +0000)
commit268d98527ef70a6de8a0fcdc976fd42f9efc0a15
tree1bb80e989a83611facb64428063f9c71a43d700d
parent095d2cbe54e6e7ac7aff312f146e9051d4c012d6
drm/radeon/r600_cs: Fix possible int overflows in r600_cs_check_reg()

From Nikita Zhandarovich
0413e8869171145d8a53f9d009f59c804b37c7b2 in linux-6.6.y/6.6.14
39c960bbf9d9ea862398759e75736cfb68c3446f in mainline linux
sys/dev/pci/drm/radeon/r600_cs.c