From: Stefano Brivio <sbrivio@redhat.com>
To: passt-dev@passt.top
Cc: David Gibson <david@gibson.dropbear.id.au>, lemmi@nerd2nerd.org
Subject: [PATCH v2 0/3] Fix some build warnings and errors for 32-bit and musl
Date: Thu, 30 Nov 2023 11:07:23 +0100 [thread overview]
Message-ID: <20231130100726.4151850-1-sbrivio@redhat.com> (raw)
v2:
- In 1/3, use %zi as format specifier for to_write in
tcp_splice_sock_handler()
- Drop 3/4, David will deal with CONN_IDX() separately
Stefano Brivio (3):
treewide: Use 'z' length modifier for size_t/ssize_t conversions
packet: Offset plus length is not always uint32_t, but it's always
size_t
port_fwd, util: Include additional headers to fix build with musl
netlink.c | 2 +-
packet.c | 14 +++++++-------
pcap.c | 4 ++--
port_fwd.c | 2 ++
tap.c | 12 ++++++------
tcp.c | 3 ++-
tcp_splice.c | 8 ++++----
util.h | 1 +
8 files changed, 25 insertions(+), 21 deletions(-)
--
2.39.2
next reply other threads:[~2023-11-30 10:07 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-30 10:07 Stefano Brivio [this message]
2023-11-30 10:07 ` [PATCH v2 1/3] treewide: Use 'z' length modifier for size_t/ssize_t conversions Stefano Brivio
2023-12-01 0:01 ` David Gibson
2023-11-30 10:07 ` [PATCH v2 2/3] packet: Offset plus length is not always uint32_t, but it's always size_t Stefano Brivio
2023-12-01 0:02 ` David Gibson
2023-11-30 10:07 ` [PATCH v2 3/3] port_fwd, util: Include additional headers to fix build with musl Stefano Brivio
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20231130100726.4151850-1-sbrivio@redhat.com \
--to=sbrivio@redhat.com \
--cc=david@gibson.dropbear.id.au \
--cc=lemmi@nerd2nerd.org \
--cc=passt-dev@passt.top \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).