diff options
| author | John Hubbard <[email protected]> | 2024-05-27 13:08:35 -0700 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-06-24 22:25:03 -0700 |
| commit | 727759d748ed34cc8d3e1d215fbc1766010dee3d (patch) | |
| tree | 45e0d0033941dec81fd2a8083c57d584cf73ebf5 /tools/perf/scripts/python | |
| parent | 54ce43da25816e6134ffc777b02f9a720d07a8db (diff) | |
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/[email protected]
Signed-off-by: John Hubbard <[email protected]>
Reviewed-by: Muhammad Usama Anjum <[email protected]>
Reviewed-by: Ryan Roberts <[email protected]>
Cc: David Hildenbrand <[email protected]>
Cc: Muhammad Usama Anjum <[email protected]>
Cc: SeongJae Park <[email protected]>
Cc: Shuah Khan <[email protected]>
Cc: Valentin Obst <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions