summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJohn Hubbard <jhubbard@nvidia.com>2024-05-27 13:08:35 -0700
committerAndrew Morton <akpm@linux-foundation.org>2024-06-24 22:25:03 -0700
commit727759d748ed34cc8d3e1d215fbc1766010dee3d (patch)
tree45e0d0033941dec81fd2a8083c57d584cf73ebf5 /drivers
parent54ce43da25816e6134ffc777b02f9a720d07a8db (diff)
downloadlinux-stable-727759d748ed34cc8d3e1d215fbc1766010dee3d.tar.gz
linux-stable-727759d748ed34cc8d3e1d215fbc1766010dee3d.tar.bz2
linux-stable-727759d748ed34cc8d3e1d215fbc1766010dee3d.zip
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 'drivers')
0 files changed, 0 insertions, 0 deletions