drm/amdkfd: Fix the warning of array-index-out-of-bounds
authorjsg <jsg@openbsd.org>
Fri, 31 Mar 2023 02:12:21 +0000 (02:12 +0000)
committerjsg <jsg@openbsd.org>
Fri, 31 Mar 2023 02:12:21 +0000 (02:12 +0000)
commit2a46a1cee0da1029c70659f9749abf2a5b84b58f
tree16f5a3ee82f7f22fea0fe06af8c8c521d5c4c177
parent416afe5d56ac8cafb47d410101159e43e1655939
drm/amdkfd: Fix the warning of array-index-out-of-bounds

From Ma Jun
0ac954ec7f6c6dd6b7e94340599ba4b788d056d5 in linux-6.1.y/6.1.22
c0cc999f3c32e65a7c88fb323893ddf897b24488 in mainline linux
sys/dev/pci/drm/amd/amdkfd/kfd_crat.c
sys/dev/pci/drm/amd/amdkfd/kfd_crat.h
sys/dev/pci/drm/amd/amdkfd/kfd_topology.c
sys/dev/pci/drm/amd/amdkfd/kfd_topology.h