aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c
diff options
context:
space:
mode:
authorJohn Hubbard <[email protected]>2024-07-04 02:52:47 +0000
committerShuah Khan <[email protected]>2024-07-05 19:21:48 +0000
commitf76f9bc616b7320df6789241ca7d26cedcf03cf3 (patch)
tree013db5816d5ddba14908d6068fcc51362be2e77b /drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c
parentselftests/resctrl: Fix non-contiguous CBM for AMD (diff)
downloadkernel-f76f9bc616b7320df6789241ca7d26cedcf03cf3.tar.gz
kernel-f76f9bc616b7320df6789241ca7d26cedcf03cf3.zip
selftest/timerns: fix clang build failures for abs() calls
When building with clang, via: make LLVM=1 -C tools/testing/selftests ...clang warns about mismatches between the expected and required integer length being supplied to abs(3). Fix this by using the correct variant of abs(3): labs(3) or llabs(3), in these cases. Reviewed-by: Dmitry Safonov <[email protected]> Reviewed-by: Muhammad Usama Anjum <[email protected]> Signed-off-by: John Hubbard <[email protected]> Acked-by: Andrei Vagin <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c')
0 files changed, 0 insertions, 0 deletions