diff options
author | 2024-01-09 16:57:26 +0530 | |
---|---|---|
committer | 2024-01-15 18:33:00 -0500 | |
commit | d7a254fad873775ce6c32b77796c81e81e6b7f2e (patch) | |
tree | b6933d1c931a9e12f4cf452c436c8f7d1e21f5de /tools/perf/scripts/python/gecko.py | |
parent | drm/amdgpu: drop exp hw support check for GC 9.4.3 (diff) | |
download | wireguard-linux-d7a254fad873775ce6c32b77796c81e81e6b7f2e.tar.xz wireguard-linux-d7a254fad873775ce6c32b77796c81e81e6b7f2e.zip |
drm/amdkfd: Fix 'node' NULL check in 'svm_range_get_range_boundaries()'
Range interval [start, last] is ordered by rb_tree, rb_prev, rb_next
return value still needs NULL check, thus modified from "node" to "rb_node".
Fixes the below:
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_svm.c:2691 svm_range_get_range_boundaries() warn: can 'node' even be NULL?
Suggested-by: Philip Yang <Philip.Yang@amd.com>
Cc: Felix Kuehling <Felix.Kuehling@amd.com>
Cc: Christian König <christian.koenig@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Srinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Reviewed-by: Felix Kuehling <felix.kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions