From: Roman Penyaev <r.peniaev@gmail.com>
Cc: "Roman Penyaev" <r.peniaev@gmail.com>,
"Marc-André Lureau" <marcandre.lureau@redhat.com>,
"Peter Maydell" <peter.maydell@linaro.org>,
"Clément Mathieu--Drif" <clement.mathieu--drif@eviden.com>,
qemu-devel@nongnu.org
Subject: [PATCH 0/2] chardev/char-mux: tweak mux bitset operations
Date: Sat, 2 Nov 2024 12:07:17 +0100 [thread overview]
Message-ID: <20241102110719.682399-1-r.peniaev@gmail.com> (raw)
Patchset tweaks bitset operations by changing a constant to unsigned
long, introduces a static compile check and simplifies bitset operations.
Roman Penyaev (2):
chardev/char-mux: shift unsigned long to avoid 32-bit overflow
chardev/char-mux: make boolean bit check instead of find_next_bit()
chardev/char-mux.c | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
Signed-off-by: Roman Penyaev <r.peniaev@gmail.com>
Cc: "Marc-André Lureau" <marcandre.lureau@redhat.com>
Cc: Peter Maydell <peter.maydell@linaro.org>
Cc: Clément Mathieu--Drif <clement.mathieu--drif@eviden.com>
Cc: qemu-devel@nongnu.org
--
2.34.1
next reply other threads:[~2024-11-02 11:10 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-02 11:07 Roman Penyaev [this message]
2024-11-02 11:07 ` [PATCH 1/2] chardev/char-mux: shift unsigned long to avoid 32-bit overflow Roman Penyaev
2024-11-02 11:07 ` [PATCH 2/2] chardev/char-mux: make boolean bit check instead of find_next_bit() Roman Penyaev
2024-11-04 7:40 ` [PATCH 0/2] chardev/char-mux: tweak mux bitset operations Marc-André Lureau
2024-11-04 7:52 ` CLEMENT MATHIEU--DRIF
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=20241102110719.682399-1-r.peniaev@gmail.com \
--to=r.peniaev@gmail.com \
--cc=clement.mathieu--drif@eviden.com \
--cc=marcandre.lureau@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
/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.
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).