summaryrefslogtreecommitdiff
path: root/fs/ext4/fast_commit.c
diff options
context:
space:
mode:
authorMa Jun <Jun.Ma2@amd.com>2022-11-02 10:53:26 +0300
committerAlex Deucher <alexander.deucher@amd.com>2022-11-04 23:05:53 +0300
commitc0cc999f3c32e65a7c88fb323893ddf897b24488 (patch)
tree5f492204010dd8722c25e0a852b2774a72c7f436 /fs/ext4/fast_commit.c
parentcfa61b8f9e9e5e14e7a79f3e9454feb8e4690f99 (diff)
downloadlinux-c0cc999f3c32e65a7c88fb323893ddf897b24488.tar.xz
drm/amdkfd: Fix the warning of array-index-out-of-bounds
For some GPUs with more CUs, the original sibling_map[32] in struct crat_subtype_cache is not enough to save the cache information when create the VCRAT table, so skip filling the struct crat_subtype_cache info instead fill struct kfd_cache_properties directly to fix this problem. Signed-off-by: Ma Jun <Jun.Ma2@amd.com> Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'fs/ext4/fast_commit.c')
0 files changed, 0 insertions, 0 deletions