netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 00/13] selftests: Fix build warnings and errors
@ 2025-12-05 17:09 Guenter Roeck
  2025-12-05 17:09 ` [PATCH v2 01/13] clone3: clone3_cap_checkpoint_restore: Fix build warnings Guenter Roeck
                   ` (13 more replies)
  0 siblings, 14 replies; 21+ messages in thread
From: Guenter Roeck @ 2025-12-05 17:09 UTC (permalink / raw)
  To: Shuah Khan
  Cc: Jakub Kicinski, Christian Brauner, Thomas Gleixner, Ingo Molnar,
	Eric Dumazet, Kees Cook, linux-kernel, linux-kselftest,
	wine-devel, netdev, bpf, Guenter Roeck

This series fixes build warnings and errors observed when trying to build
selftests.

v2: Emphasize that the patch series fixes build warnings and errors
    which are seen even if -Werror is not provided.
    Fix usage of cc-option.
    For "ignoring return value" warnings, use perror() to display an error
    message if the affected function returns an error.

----------------------------------------------------------------
Guenter Roeck (13):
      clone3: clone3_cap_checkpoint_restore: Fix build warnings
      selftests: ntsync: Fix build warnings
      selftests/filesystems: fclog: Fix build warnings and errors
      selftests/filesystems: file_stressor: Fix build warning
      selftests/filesystems: anon_inode_test: Fix build warning
      selftest: af_unix: Support compilers without flex-array-member-not-at-end support
      selftest/futex: Comment out test_futex_mpol
      selftests: net: netlink-dumps: Avoid uninitialized variable warning
      selftests/seccomp: Fix build warning
      selftests: net: Fix build warnings
      selftests/fs/mount-notify: Fix build warning
      selftests/fs/mount-notify-ns: Fix build warning
      selftests: net: tfo: Fix build warning

 tools/testing/selftests/clone3/clone3_cap_checkpoint_restore.c     | 4 ----
 tools/testing/selftests/drivers/ntsync/ntsync.c                    | 4 ++--
 tools/testing/selftests/filesystems/anon_inode_test.c              | 1 +
 tools/testing/selftests/filesystems/fclog.c                        | 1 +
 tools/testing/selftests/filesystems/file_stressor.c                | 2 --
 .../testing/selftests/filesystems/mount-notify/mount-notify_test.c | 3 ++-
 .../selftests/filesystems/mount-notify/mount-notify_test_ns.c      | 3 ++-
 tools/testing/selftests/futex/functional/futex_numa_mpol.c         | 2 ++
 tools/testing/selftests/net/af_unix/Makefile                       | 7 ++++++-
 tools/testing/selftests/net/lib/ksft.h                             | 6 ++++--
 tools/testing/selftests/net/netlink-dumps.c                        | 2 +-
 tools/testing/selftests/net/tfo.c                                  | 3 ++-
 tools/testing/selftests/seccomp/seccomp_bpf.c                      | 3 ++-
 13 files changed, 25 insertions(+), 16 deletions(-)

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2025-12-10 19:09 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-05 17:09 [PATCH v2 00/13] selftests: Fix build warnings and errors Guenter Roeck
2025-12-05 17:09 ` [PATCH v2 01/13] clone3: clone3_cap_checkpoint_restore: Fix build warnings Guenter Roeck
2025-12-05 17:09 ` [PATCH v2 02/13] selftests: ntsync: " Guenter Roeck
2025-12-08 19:27   ` Elizabeth Figura
2025-12-05 17:09 ` [PATCH v2 03/13] selftests/filesystems: fclog: Fix build warnings and errors Guenter Roeck
2025-12-05 17:09 ` [PATCH v2 04/13] selftests/filesystems: file_stressor: Fix build warning Guenter Roeck
2025-12-05 17:09 ` [PATCH v2 05/13] selftests/filesystems: anon_inode_test: " Guenter Roeck
2025-12-05 17:10 ` [PATCH v2 06/13] selftest: af_unix: Support compilers without flex-array-member-not-at-end support Guenter Roeck
2025-12-05 17:10 ` [PATCH v2 07/13] selftest/futex: Comment out test_futex_mpol Guenter Roeck
2025-12-05 17:10 ` [PATCH v2 08/13] selftests: net: netlink-dumps: Avoid uninitialized variable warning Guenter Roeck
2025-12-10  9:13   ` Jakub Kicinski
2025-12-10 19:09     ` Guenter Roeck
2025-12-05 17:10 ` [PATCH v2 09/13] selftests/seccomp: Fix build warning Guenter Roeck
2025-12-05 22:21   ` Kees Cook
2025-12-05 17:10 ` [PATCH v2 10/13] selftests: net: Fix build warnings Guenter Roeck
2025-12-05 17:10 ` [PATCH v2 11/13] selftests/fs/mount-notify: Fix build warning Guenter Roeck
2025-12-05 17:10 ` [PATCH v2 12/13] selftests/fs/mount-notify-ns: " Guenter Roeck
2025-12-05 17:31   ` Amir Goldstein
2025-12-05 18:26     ` Guenter Roeck
2025-12-05 17:10 ` [PATCH v2 13/13] selftests: net: tfo: " Guenter Roeck
2025-12-10  9:20 ` [PATCH v2 00/13] selftests: Fix build warnings and errors patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).