Fix compilation warnings in selftests
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest15 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/15 | selftests/uevent: fix -Wmaybe-uninitialized warning in uevent_filteringtools/ | +1 | 0 replies | |
| 2/15 | selftests/prctl: remove unused variable 'j' in set-process-nametools/ | +1 | 0 replies | |
| 3/15 | selftests/netfilter: remove unused variables in conntrack_dump_flushtools/ | +2 | 0 replies | |
| 4/15 | selftests/netfilter: remove unused variable 'plen' in conntrack_reverse_clashtools/ | +0 | 0 replies | |
| 5/15 | selftests/mqueue: fix warnings in mq_perf_teststools/ | +1 | 0 replies | |
| 6/15 | selftests/mqueue: fix -Wunused-variable warning for 'usage' in mq_open_teststools/ | +1 | 0 replies | |
| 7/15 | selftests/memfd: fix -Wmaybe-uninitialized warning in memfd_testtools/ | +2 | 0 replies | |
| 8/15 | selftests/memfd: remove unused variable 'sig' in fuse_testtools/ | +1 | 0 replies | |
| 9/15 | selftests/membarrier: remove unused variable 'i'tools/ | +0 | 0 replies | |
| 10/15 | selftests/epoll: remove unused variable 'pfd' in epoll59 testtools/ | +0 | 0 replies | |
| 11/15 | selftests/clone3: remove unused variables in clone3_cap_checkpoint_restoretools/ | +0 | 0 replies | |
| 12/15 | selftests/tcp_ao: fix -Wdiscarded-qualifiers under C23tools/ | +1 | 0 replies | |
| 13/15 | selftests/iommu: suppress -Warray-bounds in _test_cmd_get_hw_infotools/ | +6 | 0 replies | |
| 14/15 | selftests/fchmodat2: suppress -Wunused-parametertools/ | +1 | 0 replies | |
| 15/15 | selftests/openat2: suppress -Wsign-compare and -Wunused-parametertools/ | +5 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/15] Fix compilation warnings in selftests
This patchset fixes several compilation warnings in selftests, related to unused or uninitialized variables and compiler analysis.
These warnings may be reproduced via GCC with -Wall -Wextra
Eva Kurchatova (4):
selftests/tcp_ao: fix -Wdiscarded-qualifiers under C23 selftests/iommu: suppress -Warray-bounds in _test_cmd_get_hw_info selftests/fchmodat2: suppress -Wunused-parameter selftests/openat2: suppress -Wsign-compare and -Wunused-parameter
Konstantin Khorenko (11):
selftests/uevent: fix -Wmaybe-uninitialized warning in
uevent_filtering
selftests/prctl: remove unused variable 'j' in set-process-name selftests/netfilter: remove unused variables in conntrack_dump_flush selftests/netfilter: remove unused variable 'plen' in
conntrack_reverse_clash
selftests/mqueue: fix warnings in mq_perf_tests selftests/mqueue: fix -Wunused-variable warning for 'usage' in
mq_open_tests
selftests/memfd: fix -Wmaybe-uninitialized warning in memfd_test selftests/memfd: remove unused variable 'sig' in fuse_test selftests/membarrier: remove unused variable 'i' selftests/epoll: remove unused variable 'pfd' in epoll59 test selftests/clone3: remove unused variables in
clone3_cap_checkpoint_restore
.../selftests/clone3/clone3_cap_checkpoint_restore.c | 4 ---- tools/testing/selftests/fchmodat2/fchmodat2_test.c | 2 +- .../selftests/filesystems/epoll/epoll_wakeup_test.c | 1 - tools/testing/selftests/iommu/iommufd_utils.h | 10 ++++++---- .../membarrier/membarrier_test_multi_thread.c | 1 - tools/testing/selftests/memfd/fuse_test.c | 2 +- tools/testing/selftests/memfd/memfd_test.c | 4 ++-- tools/testing/selftests/mqueue/mq_open_tests.c | 2 +- tools/testing/selftests/mqueue/mq_perf_tests.c | 4 +--- .../selftests/net/netfilter/conntrack_dump_flush.c | 7 ++----- .../selftests/net/netfilter/conntrack_reverse_clash.c | 1 - tools/testing/selftests/net/tcp_ao/lib/proc.c | 2 +- tools/testing/selftests/openat2/openat2_test.c | 10 +++++----- tools/testing/selftests/prctl/set-process-name.c | 3 +-- tools/testing/selftests/uevent/uevent_filtering.c | 2 +- 15 files changed, 22 insertions(+), 33 deletions(-)
Signature · 1 line
2.54.0