diff options
author | John Hubbard <jhubbard@nvidia.com> | 2024-07-03 19:52:47 -0700 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2024-07-05 13:21:48 -0600 |
commit | f76f9bc616b7320df6789241ca7d26cedcf03cf3 (patch) | |
tree | 013db5816d5ddba14908d6068fcc51362be2e77b /scripts/gdb/linux/rbtree.py | |
parent | 48236960c06d32370bfa6f2cc408e786873262c8 (diff) |
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 <dima@arista.com>
Reviewed-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
Signed-off-by: John Hubbard <jhubbard@nvidia.com>
Acked-by: Andrei Vagin <avagin@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/rbtree.py')
0 files changed, 0 insertions, 0 deletions