diff options
author | John Hubbard <jhubbard@nvidia.com> | 2024-05-27 23:08:35 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2024-06-25 08:25:03 +0300 |
commit | 727759d748ed34cc8d3e1d215fbc1766010dee3d (patch) | |
tree | 45e0d0033941dec81fd2a8083c57d584cf73ebf5 /scripts/gdb/linux/utils.py | |
parent | 54ce43da25816e6134ffc777b02f9a720d07a8db (diff) | |
download | linux-727759d748ed34cc8d3e1d215fbc1766010dee3d.tar.xz |
selftests/mqueue: fix 5 warnings about signed/unsigned mismatches
When building with clang, via:
make LLVM=1 -C tools/testing/selftest
...clang warns about several cases of using a signed integer for the
priority argument to mq_receive(3), which expects an unsigned int.
Fix this by declaring the type as unsigned int in all cases.
Link: https://lkml.kernel.org/r/20240527200835.143682-1-jhubbard@nvidia.com
Signed-off-by: John Hubbard <jhubbard@nvidia.com>
Reviewed-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
Reviewed-by: Ryan Roberts <ryan.roberts@arm.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Muhammad Usama Anjum <usama.anjum@collabora.com>
Cc: SeongJae Park <sj@kernel.org>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Valentin Obst <kernel@valentinobst.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions