public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
* [PATCH 0/8] Fix assorted warnings
@ 2026-05-11 10:03 David Gibson
  2026-05-11 10:03 ` [PATCH 1/8] netlink: erromsg should be const in nl_status() David Gibson
                   ` (8 more replies)
  0 siblings, 9 replies; 18+ messages in thread
From: David Gibson @ 2026-05-11 10:03 UTC (permalink / raw)
  To: passt-dev, Stefano Brivio; +Cc: David Gibson

With Fedora 44, I'm hitting a bunch of new warnings, one from the
compiler, a few from cppcheck and many from clang-tidy.  Fix them.

David Gibson (8):
  netlink: erromsg should be const in nl_status()
  virtio: Reduce scope of variable
  conf: Fix not-actually-const parameter to conf_runas() and conf_ugid()
  clang-tidy: Squash inconsistent brace warnings in foreach macros
  clang-tidy: Suppress sscanf() warning harder
  packet, clang-tidy: Packet pool buffers are not NULL
  treewide: Make some additional variables static
  clang-tidy: Suppress some new unhelpful new warnings

 .clang-tidy  | 11 +++++++++++
 conf.c       |  9 +++++----
 flow.c       |  2 ++
 flow_table.h |  8 ++++++--
 fwd.c        |  3 ++-
 log.c        |  2 +-
 netlink.c    |  3 ++-
 packet.c     |  2 ++
 tcp.c        |  6 +++---
 tcp_buf.c    |  4 ++--
 virtio.c     |  4 ++--
 11 files changed, 38 insertions(+), 16 deletions(-)

-- 
2.54.0


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

end of thread, other threads:[~2026-05-12  5:45 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-05-11 10:03 [PATCH 0/8] Fix assorted warnings David Gibson
2026-05-11 10:03 ` [PATCH 1/8] netlink: erromsg should be const in nl_status() David Gibson
2026-05-11 12:50   ` Laurent Vivier
2026-05-11 10:03 ` [PATCH 2/8] virtio: Reduce scope of variable David Gibson
2026-05-11 12:51   ` Laurent Vivier
2026-05-11 10:03 ` [PATCH 3/8] conf: Fix not-actually-const parameter to conf_runas() and conf_ugid() David Gibson
2026-05-11 13:00   ` Laurent Vivier
2026-05-11 10:03 ` [PATCH 4/8] clang-tidy: Squash inconsistent brace warnings in foreach macros David Gibson
2026-05-11 13:21   ` Laurent Vivier
2026-05-11 10:03 ` [PATCH 5/8] clang-tidy: Suppress sscanf() warning harder David Gibson
2026-05-11 13:23   ` Laurent Vivier
2026-05-11 10:03 ` [PATCH 6/8] packet, clang-tidy: Packet pool buffers are not NULL David Gibson
2026-05-11 13:27   ` Laurent Vivier
2026-05-11 10:03 ` [PATCH 7/8] treewide: Make some additional variables static David Gibson
2026-05-11 13:30   ` Laurent Vivier
2026-05-11 10:03 ` [PATCH 8/8] clang-tidy: Suppress some new unhelpful new warnings David Gibson
2026-05-11 13:32   ` Laurent Vivier
2026-05-12  5:45 ` [PATCH 0/8] Fix assorted warnings Stefano Brivio

Code repositories for project(s) associated with this public inbox

	https://passt.top/passt

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 IMAP folder(s).